mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-13 19:10:12 -03:30
The addon-resizer container can reduce resource limits of cpu and
memory of metrics-server container in the pod, and that caused
OOMKilled.
In addition, the original metrics-server manifest doesn't contain
the addon-resizer container as [1].
So this adds metrics_server_resizer option to control the addon-resizer
container deployment and the default value is false to make it stable
for most environments.
This is a cherry-pick of 8d3961edbed4dc20c1629e846a197977d4d2dffe
[1]: 527679e5e8/manifests/base/deployment.yaml