The ChaosCenter is a single source of truth to control all the different Chaos Activities happening around Litmus. From the ChaosCenter you get the freedom to manage every single part of Litmus and shape your chaos scenarios exactly the way you want it.
ChaosCenter comes pre-packaged as a part of LitmusChaos installation and can be easily accessed via Ingress, NodePort or LoadBalancer. Since Litmus has Cross-Cloud support, you get seamless access to the ChaosCenter irrespectively of where you deploy it.
The ChaosCenter gives you access to a plethora of features, the major ones include
- Chaos Scenario Creation
- From Templates, Custom Chaos Scenarios from Scratch (using ChaosHubs), From pre-created YAMLs
- Chaos Experiments Sequence Control (Parallel as well as Sequential steps creation)
- Creation of either Singular or Cron Chaos Scenarios as Schedules
- Attaching priority to Chaos Experiments based on your use cases
- Users & Teams
- Creation of Users with Role Based Access Control
- Creating a Team of multiple Users
- Authenticating Users
- Monitoring & Observability
- Connect a Data Source (from any Chaos Delegate) and monitor chaos scenarios
- Visualize chaos scenario run statistics and aggregated schedules
- Compare two or more Chaos Scenarios
- Upload shared/downloadable dashboards available in the community
- Edit queries, Tune dashboards to create a custom one from scratch
- Monitor effect of chaos in real time with interleaved events and metrics from Prometheus Datasource
- Chaos Scenario Management
- Rolling out automated changes using GitOps
- Allowing image addition from custom image server (both public and private)
- Measure and Analyse the Resilience Score of each chaos scenario
A Chaos Delegate in Litmus is nothing but the target cluster where Chaos would be injected via Litmus. There should always be at least one or more than one Chaos Delegates connected to the ChaosCenter. Each individual Chaos Delegate can be chosen to be the Chaos Delegate for Chaos Injection.
Types of Chaos Delegates
In Litmus, Chaos Delegates can be classified into two types
- Self Chaos Delegate
- External Chaos Delegate
As part of the Litmus installation, a Self Chaos Delegate would be registered as a default Chaos Delegate in the ChaosCenter. The same cluster where Litmus is installed is chosen as the Self Chaos Delegate by the installer. From the ChaosCenter you can now induce chaos into this Self Chaos Delegate and observe the results.
Since the ChaosCenter is Cross Cloud, you can connect multiple external Chaos Delegates to the same with the help of the command line utility litmusctl. Once connected you can manage, monitor, observe and induce chaos from the ChaosCenter to the respective Chaos Delegates.