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
parent
commit
ebbbd21147
Failed to extract signature
4 changed files with 18 additions and 0 deletions
  1. 6
      tests/files/packet_almalinux8-crio.yml
  2. 5
      tests/files/packet_amazon-linux-2-all-in-one.yml
  3. 6
      tests/files/packet_ubuntu20-crio.yml
  4. 1
      tests/files/packet_ubuntu24-calico-all-in-one.yml

6
tests/files/packet_almalinux8-crio.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

5
tests/files/packet_amazon-linux-2-all-in-one.yml

@ -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

6
tests/files/packet_ubuntu20-crio.yml

@ -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

1
tests/files/packet_ubuntu24-calico-all-in-one.yml

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