mantle
mantle copied to clipboard
kola/tests: add kubernetes static pod test
This is a basic smoke test to ensure a node can handle static pods on RHCOS. The test configures the static pod through ignition (drops in kubelet configuration, static pod definition, and kubelet unit file).
Pushed some new changes:
- Readable YAML / Unit / Ignition files
- Changed the validation to use curl instead of docker to check the nginx static pod is running. I still could not remove docker from the unit file but we can cross that bridge later.
Docker was dropped from RHCOS so I'll be re-working the test to run on crio.
Switched over to using CRI-O / runc but will need cni fix/workaround [0] for the port forward to work.
[0] https://github.com/kubernetes-sigs/cri-o/issues/1804
Is this still blocked?