enable health check SLI metrics for apiserver
Change-Id: I1b43e6dfea35b8c3bfdf5daaa8b42adff2fbc786
This commit is contained in:
@@ -210,7 +210,7 @@ func ClusterRoles() []rbacv1.ClusterRole {
|
||||
ObjectMeta: metav1.ObjectMeta{Name: "system:monitoring"},
|
||||
Rules: []rbacv1.PolicyRule{
|
||||
rbacv1helpers.NewRule("get").URLs(
|
||||
"/metrics",
|
||||
"/metrics", "/metrics/slis",
|
||||
"/livez", "/readyz", "/healthz",
|
||||
"/livez/*", "/readyz/*", "/healthz/*",
|
||||
).RuleOrDie(),
|
||||
|
@@ -934,6 +934,7 @@ items:
|
||||
- /livez
|
||||
- /livez/*
|
||||
- /metrics
|
||||
- /metrics/slis
|
||||
- /readyz
|
||||
- /readyz/*
|
||||
verbs:
|
||||
|
Reference in New Issue
Block a user