File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
content/en/docs/concepts/cluster-administration Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,12 @@ Once a pod reaches completion (has a `restartPolicy` of `Never` or `OnFailure` a
170
170
the series is no longer reported since the scheduler is now free to schedule other pods to run.
171
171
The two metrics are called ` kube_pod_resource_request ` and ` kube_pod_resource_limit ` .
172
172
173
- The metrics are exposed at the HTTP endpoint ` /metrics/resources ` and require the same
174
- authorization as the ` /metrics ` endpoint on the scheduler. You must use the
175
- ` --show-hidden-metrics-for-version=1.20 ` flag to expose these alpha stability metrics.
173
+ The metrics are exposed at the HTTP endpoint ` /metrics/resources ` . They require
174
+ authorization for the ` /metrics/resources ` endpoint, usually granted by a
175
+ ClusterRole with the ` get ` verb for the ` /metrics/resources ` non-resource URL.
176
+
177
+ On Kubernetes 1.21 you must use the ` --show-hidden-metrics-for-version=1.20 `
178
+ flag to expose these alpha stability metrics.
176
179
177
180
## Disabling metrics
178
181
You can’t perform that action at this time.
0 commit comments