Skip to content

Commit 20af238

Browse files
authored
Fix Prometheus Using Endpoints (#2049)
Now that the version of kubernetes we're using in CI has been increased, Endpoints, which Prometheus uses by default, are deprecated and we need to add configuration to tell Prometheus to use EndpointSlices instead. Signed-off-by: Daniel Franz <dfranz@redhat.com>
1 parent b02314b commit 20af238

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hack/test/setup-monitoring.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ spec:
9292
runAsUser: 65534
9393
seccompProfile:
9494
type: RuntimeDefault
95+
serviceDiscoveryRole: EndpointSlice
9596
serviceMonitorSelector: {}
9697
EOF
9798

0 commit comments

Comments
 (0)