fix(docs): cpuCFSQuotaPeriod needs a feature gate

This commit is contained in:
Daniel Iziourov 2021-03-19 11:23:33 +01:00 committed by danmx
parent 9db39aa7d1
commit f0ce7708d2
No known key found for this signature in database
GPG Key ID: E46E423B3B66B66E
1 changed files with 2 additions and 0 deletions

View File

@ -600,6 +600,8 @@ spec:
cpuCFSQuotaPeriod: "100ms"
```
This change requires `CustomCPUCFSQuotaPeriod` [feature gate](#feature-gates).
### Enable Custom metrics support
To use custom metrics in kubernetes as per [custom metrics doc](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics)
we have to set the flag `--enable-custom-metrics` to `true` on all the kubelets. We can specify that in the `kubelet` spec in our cluster.yml.