The Litmuschaos command-line tool, litmusctl, allows you to manage litmuschaos's agent plane. You can use litmusctl to connect Chaos Delegates, create project, schedule Chaos Scenarios, disconnect Chaos Delegates and manage multiple litmuschaos accounts.
For more information including a complete list of litmusctl operations, see the litmusctl reference documentation.
The litmusctl CLI requires the following things:
~/.kube/config
.To check compatibility of litmusctl with Chaos Center
litmusctl version | Lowest Chaos Center supported version | Highest Chaos Center supported version |
---|---|---|
1.12.0 | 3.0.0 | 3.13.0 |
1.11.0 | 3.0.0 | 3.12.0 |
1.10.0 | 3.0.0 | 3.11.0 |
1.9.0 | 3.0.0 | 3.10.0 |
1.8.0 | 3.0.0 | 3.9.1 |
1.7.0 | 3.0.0 | 3.8.0 |
1.6.0 | 3.0.0 | 3.7.0 |
1.5.0 | 3.0.0 | 3.6.0 |
1.4.0 | 3.0.0 | 3.5.0 |
1.3.0 | 3.0.0 | 3.4.0 |
1.2.0 | 3.0.0 | 3.3.0 |
1.1.0 | 3.0.0 | 3.2.0 |
1.0.0 | 3.0.0 | 3.1.0 |
To install the latest version of litmusctl follow the below steps:
tar -zxvf litmusctl-<OS>-<ARCH>-<VERSION>.tar.gz
chmod +x litmusctl
mv litmusctl /usr/local/bin/litmusctl
litmusctl <command> <subcommand> <subcommand> [options and parameters]
Extract the binary from the zip using WinZip or any other extraction tool.
You can run the litmusctl command in windows:
litmusctl.exe <command> <subcommand> <subcommand> [options and parameters]
litmusctl version
You can find the local setup guide for litmusctl
here.