mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Allowing resource management of metrics-server container. Will allow fine-tuning of resource allocation and solving throttling issues. Setting defaults as per the current request & limit allocation: cpu: 43m, memory 55Mi for both limits & requests. (#6652)
Signed-off-by: Brendan Holmes <holmesb@users.noreply.github.com> Co-authored-by: Brendan Holmes <holmesb@users.noreply.github.com>
This commit is contained in:
@@ -73,6 +73,13 @@ spec:
|
||||
runAsGroup: 10001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 10001
|
||||
resources:
|
||||
limits:
|
||||
cpu: {{ metrics_server_limits_cpu }}
|
||||
memory: {{ metrics_server_limits_memory }}
|
||||
requests:
|
||||
cpu: {{ metrics_server_requests_cpu }}
|
||||
memory: {{ metrics_server_requests_memory }}
|
||||
- name: metrics-server-nanny
|
||||
image: {{ addon_resizer_image_repo }}:{{ addon_resizer_image_tag }}
|
||||
imagePullPolicy: {{ k8s_image_pull_policy }}
|
||||
|
||||
Reference in New Issue
Block a user