Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/berkay-dincer/kubethanos

Kills half of your randomly selected kubernetes pods.
https://github.com/berkay-dincer/kubethanos

Last synced: 3 months ago
JSON representation

Kills half of your randomly selected kubernetes pods.

Awesome Lists containing this project

README

        

chaoskube

# kubethanos
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.

## Table of Contents
- [Usage](#usage)
* [Valid Parameters](#applying)
- [Other Similar Projects](#other-similar-projects)
- [Acknowledgements](#acknowledgements)
- [Disclaimer](#disclaimer)
- [Contribute](#contribute)
- [Code of Conduct](#code-of-conduct)
- [License](#license)

## Usage

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 kubethanos
--included-pod-names=
--node-names=
--excluded-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 healthcheck
--interval // Interval between killing pods
--dry-run // If true, print out the pod names without actually killing them. Defaults *FALSE*
--ratio // ratio of pods to kill. Default is 0.5
--debug // Enable debug logging.
```

* Pods to kill will be searched with a top-down approach. Node(s) first Pod(s) later.

* Configure kubernetes readiness & liveliness probes to `/healthz` endpoint.

## Other similar projects

* [chaosmonkey](https://github.com/Netflix/chaosmonkey)
* [chaoskube](https://github.com/linki/chaoskube)
* [kube-monkey](https://github.com/asobti/kube-monkey)
* [PowerfulSeal](https://github.com/bloomberg/powerfulseal)
* [fabric8's chaos monkey](https://fabric8.io/guide/chaosMonkey.html)
* [k8aos](https://github.com/AlexsJones/k8aos)
* [Cthulhu](https://github.com/xmatters/cthulhu-chaos-testing)
* [KubeInvaders](https://github.com/lucky-sideburn/KubeInvaders)

## Acknowledgements

* Thanks to [@linki](https://github.com/linki) [chaoskube](https://github.com/linki/chaoskube) for giving me the idea and having written something with a broader scope.

## Disclaimer

* You are responsible for your actions. If you break things in production while using this software I cannot help you to restore the damage caused.

## Contribute

Any contributions are welcome! Please see the [contributing](CONTRIBUTING.md) file for details.

## Code of Conduct

Please check the [code of conduct](CODE_OF_CONDUCT.md) page for efficient collaboration and communication.

## License

This project licensed under [MIT](LICENSE).