kola/tests: Add test for runtime switching to cgroupv1#298
kola/tests: Add test for runtime switching to cgroupv1#298jepio merged 3 commits intoflatcar-masterfrom
Conversation
76d4b5b to
087d80f
Compare
|
I think we need a more high-level test, too. I think a variant of the kubeadm tests (maybe just one specific configuration) would be helpful to assert that a system booted up this way is actually able to run Kubernetes. That's the only concern I have, otherwise the changes look good together. |
|
@pothos good idea for the kubadm test. I think we can easily add a Kubernetes should easily follow: https://github.com/flatcar-linux/mantle/blob/465025f7eb701a22b12b6c1cdffae231c20f40f8/kola/tests/kubeadm/templates.go#L284-L287 |
|
@jepio test is looking good to me. Can you maybe add a changelog entry in the |
4f2a738 to
abc9b13
Compare
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Test that with the fallback to cgroupv1, kubeadm based clusters work. This test covers kubernetes v1.21 only to not explode the test time.
c208100 to
b40ccac
Compare
|
@tormath1 @pothos I've added tests for cgroupv1+k8s v1.21.*. Search for cgroupfs in the console output here: http://jenkins.infra.kinvolk.io:8080/job/os/job/kola/job/qemu/3761/console. |
kola/tests: Add test for runtime switching to cgroupv1
Add test illustrating switching to cgroupv1 with no reboot.
How to use
Run test with this PR: flatcar-archive/coreos-overlay#1666
Testing done
CI running
changelog/directory (user-facing change, bug fix, security fix, update)