Add metrics_server_resizer option (#8018)

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.

[1]: 527679e5e8/manifests/base/deployment.yaml
This commit is contained in:
Kenichi Omichi
2021-09-28 00:02:42 -07:00
committed by GitHub
parent 4c5328fd1f
commit 8d3961edbe
3 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
---
metrics_server_resizer: false
metrics_server_kubelet_insecure_tls: true
metrics_server_kubelet_preferred_address_types: "InternalIP"
metrics_server_metric_resolution: 15s