Update kubernetes cgroup value for libvirt

The reason for this PR is that in most cases
we utilize systemd cgroup driver nowadays.
So it worth it to set kubepods.slice cgroup root
by default.

https: //github.com/kubernetes/kubernetes/blob/release-1.26/pkg/kubelet/cm/cgroup_manager_linux.go#L77-L81
Change-Id: I0cad148eb827439815c7e5bad1d6b6108cd1ab8d
This commit is contained in:
Vladimir Kozhukalov 2023-03-31 01:48:55 +03:00
parent 1cf87254e8
commit d67ce6740b
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm libvirt description: OpenStack-Helm libvirt
name: libvirt name: libvirt
version: 0.1.18 version: 0.1.19
home: https://libvirt.org home: https://libvirt.org
sources: sources:
- https://libvirt.org/git/?p=libvirt.git;a=summary - https://libvirt.org/git/?p=libvirt.git;a=summary

View File

@ -119,7 +119,7 @@ conf:
user: "nova" user: "nova"
group: "kvm" group: "kvm"
kubernetes: kubernetes:
cgroup: "kubepods" cgroup: "kubepods.slice"
pod: pod:
probes: probes:

View File

@ -19,4 +19,5 @@ libvirt:
- 0.1.16 Update all Ceph images to Focal - 0.1.16 Update all Ceph images to Focal
- 0.1.17 Add ovn.yaml values_override, remove dependency from neutron-ovs-agent module - 0.1.17 Add ovn.yaml values_override, remove dependency from neutron-ovs-agent module
- 0.1.18 Replace node-role.kubernetes.io/master with control-plane - 0.1.18 Replace node-role.kubernetes.io/master with control-plane
- 0.1.19 Set kubernetes cgroup value equal kubepods.slice to fit systemd cgroup driver
... ...