From d67ce6740bf1cdd99c540208c065dcce374f4762 Mon Sep 17 00:00:00 2001 From: Vladimir Kozhukalov Date: Fri, 31 Mar 2023 01:48:55 +0300 Subject: [PATCH] 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 --- libvirt/Chart.yaml | 2 +- libvirt/values.yaml | 2 +- releasenotes/notes/libvirt.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libvirt/Chart.yaml b/libvirt/Chart.yaml index 94f42e11f..97a529fb0 100644 --- a/libvirt/Chart.yaml +++ b/libvirt/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm libvirt name: libvirt -version: 0.1.18 +version: 0.1.19 home: https://libvirt.org sources: - https://libvirt.org/git/?p=libvirt.git;a=summary diff --git a/libvirt/values.yaml b/libvirt/values.yaml index b9fc932f7..754926562 100644 --- a/libvirt/values.yaml +++ b/libvirt/values.yaml @@ -119,7 +119,7 @@ conf: user: "nova" group: "kvm" kubernetes: - cgroup: "kubepods" + cgroup: "kubepods.slice" pod: probes: diff --git a/releasenotes/notes/libvirt.yaml b/releasenotes/notes/libvirt.yaml index 9590d9100..8b6a399fb 100644 --- a/releasenotes/notes/libvirt.yaml +++ b/releasenotes/notes/libvirt.yaml @@ -19,4 +19,5 @@ libvirt: - 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.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 ...