mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-21 07:47:49 -02:30
[feature] Supprt enabling cpu limit in corends deployment (#10103)
This commit is contained in:
committed by
GitHub
parent
708677caf1
commit
9405eb821b
@@ -65,6 +65,9 @@ spec:
|
||||
# guaranteed class. Currently, this container falls into the
|
||||
# "burstable" category so the kubelet doesn't backoff from restarting it.
|
||||
limits:
|
||||
{% if dns_cpu_limit is defined %}
|
||||
cpu: {{ dns_cpu_limit }}
|
||||
{% endif %}
|
||||
memory: {{ dns_memory_limit }}
|
||||
requests:
|
||||
cpu: {{ dns_cpu_requests }}
|
||||
|
||||
Reference in New Issue
Block a user