enable health check SLI metrics for apiserver

Change-Id: I1b43e6dfea35b8c3bfdf5daaa8b42adff2fbc786
This commit is contained in:
Han Kang
2022-09-26 16:10:58 -07:00
parent d39c9aeff0
commit db13f51db9
6 changed files with 11 additions and 1 deletions

View File

@@ -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(),

View File

@@ -934,6 +934,7 @@ items:
- /livez
- /livez/*
- /metrics
- /metrics/slis
- /readyz
- /readyz/*
verbs: