This plugin implements the Kill Pod scenario used by redhat-chaos/krkn for Chaos Engineering experiments on Kubernetes.
For testing this plugin you need a kubernets instance. Within CI we are using KinD.
The test is going to read your kubeconfig file which defaults to ~/.kube/config
.
The code requires Python >= 3.9 in order to work.
python -m venv .venv
source .venv/bin/activate
pip install poetry
poetry install
poetry run python -m coverage run -a -m unittest discover -s tests -v
poetry run python -m coverage html