LitmusChaos is a cloud-native toolset designed for orchestrating chaos experiments on Kubernetes. It helps Site Reliability Engineers (SREs) identify vulnerabilities in their deployments by running chaos experiments in staging environments and eventually in production to increase system resilience.
Litmus uses Kubernetes Custom Resource Definitions (CRDs) to create, manage, and monitor chaos:
- ChaosEngine: A resource that links a Kubernetes application or node to a specific chaos experiment. It is watched by the Litmus Chaos Operator to trigger experiments.
- ChaosExperiment: A resource that groups the configuration parameters of a chaos experiment. These are created by the operator when a
ChaosEngine is applied. - ChaosResult: A resource used to store the results of a chaos experiment. The chaos exporter reads these results and exports metrics to a configured Prometheus server.