kubethanos kills half of your pods randomly to engineer chaos in your preferred environment, gives you the opportunity to see how your system behaves under failures.
See the kubethanos.yaml file for an example run. Here are the list of valid parameters:
--namespaces=!kubesystem,foo-bar // A namespace or a set of namespaces to restrict thanoskube
--included-pod-names=<regex_to_include_pod_names>
--excluded-pod-names=<regex_to_include_pod_names>
--master // The address of the Kubernetes cluster to target, if none looks under $HOME/.kube
--kubeconfig // Path to a kubeconfig file
--healthcheck // Listens this endpoint for healtcheck
--interval // Interval between killing pods
--dry-run // If true, print out the pod names without actually killing them.
--percentage // percentage of pods to kill. Default is 0.5
--debug // Enable debug logging.
- Configure kubernetes readiness & liveliness probes to
/healthzendpoint.
- Thanks to @linki chaoskube for giving me the idea and having written something with a broader scope.
Any contributions are welcome!
This project licensed under MIT.
