Skip to content

Commit 7c1a2ca

Browse files
committed
Fix Prometheus Using Endpoints
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 7c1a2ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)