kubespray/roles/kubernetes/node
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
..
defaults node: fix default kubelet/runtime cgroups when kube_reserved is false (#9834) 2023-03-05 18:48:58 -08:00
handlers restart kubelet service when kube-config.yml is changed (#5402) 2020-05-19 10:13:37 -07:00
tasks use cri-o from upstream instead of kubic/OBS (#9374) 2022-10-19 05:47:05 -07:00
templates upgrade kubevip to v0.5.11 (#9852) 2023-03-05 17:54:57 -08:00
vars [kubelet] set correct resolv.conf for Ubuntu 22.04 (#8795) 2022-05-06 16:31:04 -07:00