Browse Source
Fix kube_reserved_cgroups_for_service_slice
The default value is used across kubespray but only defined in
kubernetes/node.
Move it to kubespray-defaults
pull/10643/head
Max Gautier
2 months ago
Failed to extract signature
2 changed files with
3 additions and
1 deletions
-
roles/kubernetes/node/defaults/main.yml
-
roles/kubespray-defaults/defaults/main/main.yml
|
|
@ -36,7 +36,6 @@ kubelet_secure_addresses: "localhost link-local {{ kube_pods_subnet }} {{ kube_n |
|
|
|
# Reserve this space for kube resources |
|
|
|
# Whether to run kubelet and container-engine daemons in a dedicated cgroup. (Not required for resource reservations). |
|
|
|
kube_reserved: false |
|
|
|
kube_reserved_cgroups_for_service_slice: kube.slice |
|
|
|
kube_reserved_cgroups: "/{{ kube_reserved_cgroups_for_service_slice }}" |
|
|
|
kube_memory_reserved: 256Mi |
|
|
|
kube_cpu_reserved: 100m |
|
|
|
|
|
@ -29,6 +29,9 @@ kube_proxy_mode: ipvs |
|
|
|
## The timeout for init first control-plane |
|
|
|
kubeadm_init_timeout: 300s |
|
|
|
|
|
|
|
# TODO: remove this |
|
|
|
kube_reserved_cgroups_for_service_slice: kube.slice |
|
|
|
|
|
|
|
## List of kubeadm init phases that should be skipped during control plane setup |
|
|
|
## By default 'addon/coredns' is skipped |
|
|
|
## 'addon/kube-proxy' gets skipped for some network plugins |
|
|
|