litmus-docs/website/docs/getting-started-chaosagents.md

1.2 KiB

id title sidebar_label
chaosagents ChaosAgents ChaosAgents

A <span style={{color: '#5B44BA'}}>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.

Types of ChaosAgents

In Litmus, ChaosAgents can be classified into two types

  • <span style={{color: '#5B44BA'}}>Self Agent
  • <span style={{color: '#5B44BA'}}>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 <span style={{color: '#5B44BA'}}>litmusctl. Once connected you can manage, monitor, observe and induce chaos from the ChaosCenter to the respective ChaosAgents.