Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
Go to file
Shubham Chaudhary 2ec1f03f53 (feat): Added rescue block in pod-delete by powerseal lib (#1085)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>

Co-authored-by: Amit Bhatt <33670159+amitbhatt818@users.noreply.github.com>
2020-01-09 17:02:26 +05:30
.github adding multiple templates for github issues (#838) 2019-10-11 09:10:34 +05:30
build (refactor) make the experiment logs more meaningful (#1048) 2020-01-07 16:47:48 +05:30
ceps (chore)cep: add cep template (#917) 2019-11-06 14:23:41 +05:30
chaoslib (feat): Added rescue block in pod-delete by powerseal lib (#1085) 2020-01-09 17:02:26 +05:30
ci_plugins/gitlab (restructure)repo: restructure litmus repo for generic chaos: contd 2019-09-30 10:50:28 +00:00
contribute/developer_guide Add pytest suite to verify successful scaffolding of experiment artefacts (#992) 2019-12-12 12:13:22 +05:30
executor (feat): Add auxiliaryAppInfo Env variable in job (#1018) 2019-12-30 17:40:17 +05:30
experiments (doc): adding coredns pod delete docs (#1074) 2020-01-07 17:42:09 +05:30
hack Add pytest suite to verify successful scaffolding of experiment artefacts (#992) 2019-12-12 12:13:22 +05:30
images Adding new images to be used for Litmus branding (#812) 2019-10-06 17:55:19 +05:30
utils (feat) Added pumba health check status (#1043) 2020-01-06 11:13:01 +05:30
.bettercodehub.yml (chore) add bettercodehub badge to readme (#1083) 2020-01-09 10:41:25 +05:30
.gitignore Add pytest suite to verify successful scaffolding of experiment artefacts (#992) 2019-12-12 12:13:22 +05:30
.gitlab-ci.yml Add pytest suite to verify successful scaffolding of experiment artefacts (#992) 2019-12-12 12:13:22 +05:30
.travis.yml (chore)ci: add sonarqube quality check (#847) 2019-10-14 12:46:06 +05:30
ADOPTERS.md (chore) add bettercodehub badge to readme (#1083) 2020-01-09 10:41:25 +05:30
CHAOS_EXPERIMENT_MATURITY.md (chore)updates to project docs (#946) 2019-11-15 21:19:00 +05:30
CODE_OF_CONDUCT.md (fix): Typo fix in CODE_OF_CONDUCT.md and README.md (#834) 2019-10-11 13:45:41 +05:30
CONTRIBUTING.md (community)contributing_guide: include sync up meeting details (#884) 2019-10-22 15:07:04 +05:30
LICENSE (license): Update the license Authors (#957) 2019-11-26 02:47:09 +05:30
Makefile (refactor)experiments: rename experiment artefacts (#800) 2019-10-04 20:24:12 +05:30
NOTICE.md (restructure)repo: restructure litmus repo for generic chaos: contd 2019-09-30 10:50:28 +00:00
README.md (chore) add bettercodehub badge to readme (#1083) 2020-01-09 10:41:25 +05:30
RELEASE_GUIDELINES.md (chore)updates to project docs (#946) 2019-11-15 21:19:00 +05:30
sonar-project.properties (chore): exclude modified ansible source files from sonar analysis (#1090) 2020-01-09 14:47:40 +05:30

README.md

LitmusChaos

Cloud-Native Chaos Engineering; Kubernetes-Native Chaos Engineering; Chaos Engineering for Kubernetes

Build Status Docker Pulls GitHub stars GitHub issues Twitter Follow CII Best Practices Quality Gate Status BCH compliance



Overview

Litmus is a toolset to do cloud-native chaos engineering. Litmus provides tools to orchestrate chaos on Kubernetes to help SREs find weaknesses in their deployments. SREs use Litmus to run chaos experiments initially in the staging environment and eventually in production to find bugs, vulnerabilities. Fixing the weaknesses leads to increased resilience of the system.

Litmus takes a cloud-native approach to create, manage and monitor chaos. Chaos is orchestrated using the following Kubernetes Custom Resource Definitions (CRDs):

  • ChaosEngine: A resource to link a Kubernetes application or Kubernetes node to a ChaosExperiment. ChaosEngine is watched by Litmus' Chaos-Operator which then invokes Chaos-Experiments
  • ChaosExperiment: A resource to group the configuration parameters of a chaos experiment. ChaosExperiment CRs are created by the operator when experiments are invoked by ChaosEngine.
  • ChaosResult: A resource to hold the results of a chaos-experiment. The Chaos-exporter reads the results and exports the metrics into a configured Prometheus server.

Chaos experiments are hosted on hub.litmuschaos.io. It is a central hub where the application developers or vendors share their chaos experiments so that their users can use them to increase the resilience of the applications in production.

Use cases

  • For Developers: To run chaos experiments during application development as an extension of unit testing or integration testing.
  • For CI pipeline builders: To run chaos as a pipeline stage to find bugs when the application is subjected to fail paths in a pipeline.
  • For SREs: To plan and schedule chaos experiments into the application and/or surrounding infrastructure. This practice identifies the weaknesses in the system and increases resilience.

Demo

asciicast

Getting Started with Litmus

See Litmus Docs.

Contributing to Chaos Hub

See Contributing to chaos hub

Adopters

See Adopters of LitmusChaos

(Send a PR to the above page if you are using Litmus in your chaos engineering practice)

License

Litmus is licensed under the Apache License, Version 2.0. See LICENSE for the full license text. Some of the projects used by the Litmus project may be governed by a different license, please refer to its specific license.

Community notes

https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q

Litmus Docs Litmus Docs
CNCF Landscape Litmus on CNCF Landscape