CI: test several cases for cgroups resources enforcements

Test the cgroup translation with different container manager and cgroup
driver.
pull/10714/head
Max Gautier 2024-11-09 23:26:01 +01:00
parent 0ade7c3bba
commit ebbbd21147
No known key found for this signature in database
4 changed files with 18 additions and 0 deletions

View File

@ -6,3 +6,9 @@ mode: default
# Kubespray settings # Kubespray settings
container_manager: crio container_manager: crio
auto_renew_certificates: true auto_renew_certificates: true
# Test cgroups
enforce_allocatable_kube_reserved: true
enforce_allocatable_system_reserved: true
kube_slice: nested-runtime.slice

View File

@ -2,3 +2,8 @@
# Instance settings # Instance settings
cloud_image: amazon-linux-2 cloud_image: amazon-linux-2
mode: all-in-one mode: all-in-one
enforce_allocatable_kube_reserved: true
enforce_allocatable_system_reserved: true
kube_slice: nested-runtime.slice
kubelet_cgroup_driver: cgroupfs

View File

@ -8,3 +8,9 @@ container_manager: crio
download_localhost: false download_localhost: false
download_run_once: true download_run_once: true
# Cgroups
enforce_allocatable_kube_reserved: true
enforce_allocatable_system_reserved: true
kube_slice: nested-runtime.slice
kubelet_cgroup_driver: cgroupfs

View File

@ -25,3 +25,4 @@ containerd_registries_mirrors:
enforce_allocatable_kube_reserved: true enforce_allocatable_kube_reserved: true
enforce_allocatable_system_reserved: true enforce_allocatable_system_reserved: true
kube_slice: nested-runtime.slice