CI: test several cases for cgroups resources enforcements
Test the cgroup translation with different container manager and cgroup driver.pull/10714/head
parent
0ade7c3bba
commit
ebbbd21147
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue