Browse Source
CI: test several cases for cgroups resources enforcements
Test the cgroup translation with different container manager and cgroup
driver.
pull/10714/head
Max Gautier
2 weeks ago
Failed to extract signature
4 changed files with
18 additions and
0 deletions
-
tests/files/packet_almalinux8-crio.yml
-
tests/files/packet_amazon-linux-2-all-in-one.yml
-
tests/files/packet_ubuntu20-crio.yml
-
tests/files/packet_ubuntu24-calico-all-in-one.yml
|
|
@ -6,3 +6,9 @@ mode: default |
|
|
|
# Kubespray settings |
|
|
|
container_manager: crio |
|
|
|
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 |
|
|
|
cloud_image: amazon-linux-2 |
|
|
|
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_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_system_reserved: true |
|
|
|
kube_slice: nested-runtime.slice |