kubespray/roles/kubernetes
Arthur Outhenin-Chalandre 9e2104c7d3
node: fix default kubelet/runtime cgroups when kube_reserved is false (#9834)
* node: fix default kubelet/runtime cgroups when kube_reserved is false (default)

Commit 1c4db6132d introduced a notion of
kube_reserved. This introduced a breaking change defaulting to use
kube.slice for the container_manager and the kubelet as if kube_reserved
was always enabled whereas it is disabled by default.

This commit fixes this by bringing back system.slice whenever
kube_reserved is disabled.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>

* inventory/sample: change false for kube_reserved as its the default

Changing the commented value in sample inventory to the actual default
value.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>

---------

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
2023-03-05 18:48:58 -08:00
..
client [kubeconfig] generate admin kube config from /etc/kubernetes/admin.conf instead of the workaround of using kubeadm init phase kubeadm admin which fails with cri-dockerd 2022-06-15 00:57:20 -07:00
control-plane fix(upgrade-cluster): retry other masters upgrade (#9768) 2023-03-03 05:44:58 -08:00
kubeadm kubeadm/etcd: use config to download certificate (#9609) 2023-01-20 00:26:16 -08:00
node node: fix default kubelet/runtime cgroups when kube_reserved is false (#9834) 2023-03-05 18:48:58 -08:00
node-label/tasks Use a variable for standardizing kubectl invocation (#8329) 2022-01-05 02:26:32 -08:00
preinstall Network plugin custom (#9819) 2023-03-03 00:23:08 -08:00
tokens fix kube token dir permissions (#9590) 2022-12-21 15:45:25 -08:00