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 workflows 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
- Workflow Creation
- From Templates, Custom Workflows 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 Workflows 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 Agent) and monitor workflows
- Visualize workflow run statistics and aggregated schedules
- Compare two or more Workflows
- 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
- Workflow 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 workflow
A ChaosAgent in Litmus is nothing but the target cluster where Chaos would be injected via Litmus. There should always be atleast one or more than one ChaosAgents connected to the ChaosCenter. Each individual ChaosAgent can be chosen to be the Target Agent for Chaos Injection.
In Litmus, ChaosAgents can be classified into two types
- Self Agent
- External Agent
As part of the Litmus installation, a Self Agent would be registered as a default Agent in the ChaosCenter. The same cluster where Litmus is installed is chosen as the Self Agent by the installer. From the ChaosCenter you can now induce chaos into this Self Agent and observe the results.
Since the ChaosCenter is Cross Cloud, you can connect multiple external Kubernetes agents 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 ChaosAgents.