mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 09:59:59 +00:00
1.7 KiB
1.7 KiB
Pod Scenarios
Kraken consumes Powerfulseal under the hood to run the pod scenarios.
Pod chaos scenarios
Following are the components of Kubernetes/OpenShift for which a basic chaos scenario config exists today. Adding a new pod based scenario is as simple as adding a new config under scenarios directory and defining it in the config. For example, for adding a pod level scenario for a custom application, refer to the sample scenario provided in the scenarios directory (scenarios/customapp_pod.yaml).
| Component | Description | Working |
|---|---|---|
| Etcd | Kills a single/multiple etcd replicas for the specified number of times in a loop | ✔️ |
| Kube ApiServer | Kills a single/multiple kube-apiserver replicas for the specified number of times in a loop | ✔️ |
| ApiServer | Kills a single/multiple apiserver replicas for the specified number of times in a loop | ✔️ |
| Prometheus | Kills a single/multiple prometheus replicas for the specified number of times in a loop | ✔️ |
| OpenShift System Pods | kills random pods running in the OpenShift system namespaces | ✔️ |
NOTE: Writing policies can be referred for more information on how to write new scenarios.