containerd/test
David Porter 6639b2b028 test: Add ability to switch between cgroupv1 or cgroupv2
For k8s e2e node tests, we want to be able to test both cgroupv1 and
cgroupv2 variants. Currently, the latest version of COS (M97) is running
as cgroupv2 and we would like the add the ability to switch to cgroupv1
for running tests on cgroupv1.

To do this, add a new flag, "CGROUP_MODE" which can be set as v1 or v2.
If the current cgroup configuration does not match the desired config,
the cgroup config will be set via `cgroup_helper` COS utility, and the
node will be rebooted.

Signed-off-by: David Porter <porterdavid@google.com>
2022-07-19 17:51:41 -07:00
..
e2e_node test: Add ability to switch between cgroupv1 or cgroupv2 2022-07-19 17:51:41 -07:00
build-test-images.sh integration: align tags of test images 2021-12-03 15:14:09 +01:00
build-utils.sh scripts: declare ROOT closer to where it's used, and some DRY changes 2021-08-03 17:27:03 +02:00
build.sh scripts: declare ROOT closer to where it's used, and some DRY changes 2021-08-03 17:27:03 +02:00
e2e Create symlink to avoid duplicate cloud init 2021-03-08 15:52:59 -05:00
init-buildx.sh scripts: add missing quotes, and minor linting issues 2021-08-03 17:23:18 +02:00
push.sh scripts: add missing quotes, and minor linting issues 2021-08-03 17:23:18 +02:00
utils.sh scripts: add missing quotes, and minor linting issues 2021-08-03 17:23:18 +02:00