...
We use the next values for the kud-installer.yaml to properly run tests with Containerd and Kata Containers.
Code Block | ||
---|---|---|
| ||
CONTAINER_RUNTIME: “containerd” |
...
KUD_ENABLE_TESTS: "true" |
...
ENABLE_KATA_WEBHOOK: "false" |
...
KATA_WEBHOOK_RUNTIMECLASS: "kata-clh" |
If ENABLE_KATA_WEBHOOK is set to true, then every pod that could run as a Kata container (e.g. infrastructure pods) will mutate to run as a Kata container. This could lead to some pods to be stuck in pending. If KUD_ENABLE_TESTS is set to true, then the webhook will be started before the verification tests are run to force Kata eligible pods to run as a Kata container. The webhook will be uninstalled after the tests run if ENABLE_KATA_WEBHOOK is set to false.
...