mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-17 03:00:07 -03:30
Adjust memory reservation for master nodes (#1769)
This commit is contained in:
@@ -20,14 +20,21 @@ kubelet_enable_cri: true
|
||||
kubelet_cgroups_per_qos: true
|
||||
# Set to empty to avoid cgroup creation
|
||||
kubelet_enforce_node_allocatable: "\"\""
|
||||
|
||||
# Set false to enable sharing a pid namespace between containers in a pod.
|
||||
# Note that PID namespace sharing requires docker >= 1.13.1.
|
||||
kubelet_disable_shared_pid: true
|
||||
|
||||
# Limits for kube components and nginx load balancer app
|
||||
kubelet_memory_limit: 512M
|
||||
# Reserve this space for system resources
|
||||
kubelet_memory_limit: 256M
|
||||
kubelet_cpu_limit: 100m
|
||||
# Reservation for master hosts
|
||||
kubelet_master_memory_limit: 512M
|
||||
kubelet_master_cpu_limit: 200m
|
||||
|
||||
kubelet_status_update_frequency: 10s
|
||||
|
||||
# Limits for kube components and nginx load balancer app
|
||||
kube_proxy_memory_limit: 2000M
|
||||
kube_proxy_cpu_limit: 500m
|
||||
kube_proxy_memory_requests: 64M
|
||||
|
||||
Reference in New Issue
Block a user