|
1 | 1 | ---
|
2 | 2 | id: litmusctl-usage
|
3 |
| -title: Litmusctl Usage |
4 |
| -sidebar_label: Litmusctl Usage |
| 3 | +title: Overview |
| 4 | +sidebar_label: Usage Overview |
5 | 5 | ---
|
6 | 6 |
|
7 | 7 | ---
|
8 | 8 |
|
9 |
| -<table> |
10 |
| -<tr> |
11 |
| - <th>Topic</th> |
12 |
| - <th>User Guides</th> |
13 |
| -</tr> |
14 |
| -<tr> |
15 |
| - <td>Connect Chaos Infrastructure</td> |
16 |
| - <td><a href="https://github.com/litmuschaos/litmusctl/blob/master/Usage_0.23.0.md#steps-to-connect-a-chaos-infrastucture">Click Here</a></td> |
17 |
| -</tr> |
18 |
| -<tr> |
19 |
| - <td>Create Chaos Experiment</td> |
20 |
| - <td><a href="https://github.com/litmuschaos/litmusctl/blob/master/Usage_0.23.0.md#steps-to-create-a-chaos-experiment">Click Here</a></td> |
21 |
| -</tr> |
22 |
| -<tr> |
23 |
| - <td>Additional Commands</td> |
24 |
| - <td><a href="https://github.com/litmuschaos/litmusctl/blob/master/Usage_0.23.0.md#additional-commands">Click Here</a></td> |
25 |
| -</tr> |
26 |
| -</table> |
| 9 | +This section provides comprehensive guides for using litmusctl to manage your chaos engineering workflows. litmusctl is the command-line interface for LitmusChaos that enables you to interact with ChaosCenter and manage chaos experiments from your terminal. |
| 10 | + |
| 11 | +## What You Can Do with litmusctl |
| 12 | + |
| 13 | +With litmusctl, you can: |
| 14 | + |
| 15 | +- **Connect Chaos Infrastructure**: Set up and connect chaos infrastructure to your ChaosCenter |
| 16 | +- **Create and Manage Experiments**: Design, create, and run chaos experiments using manifest files |
| 17 | +- **Manage Projects and Environments**: Organize your chaos engineering efforts across different projects and environments |
| 18 | +- **Monitor and Control**: Track experiment status and manage your chaos engineering resources |
| 19 | + |
| 20 | +## Getting Started |
| 21 | + |
| 22 | +Before diving into the specific usage guides, ensure you have: |
| 23 | + |
| 24 | +1. **litmusctl installed** - Follow the [installation guide](installation.md) |
| 25 | +2. **Access to ChaosCenter** - You'll need valid credentials for your ChaosCenter instance |
| 26 | +3. **Kubernetes cluster access** - Required for connecting chaos infrastructure |
| 27 | + |
| 28 | +## Usage Guides |
| 29 | + |
| 30 | +The following guides will walk you through the key litmusctl workflows: |
| 31 | + |
| 32 | +### [Connect Chaos Infrastructure](connect-chaos-infrastructure.md) |
| 33 | +Learn how to connect a chaos infrastructure to your ChaosCenter. This is typically the first step after installation, allowing you to run chaos experiments in your Kubernetes cluster. |
| 34 | + |
| 35 | +### [Create Chaos Experiment](create-chaos-experiment.md) |
| 36 | +Discover how to create and run chaos experiments using litmusctl. This guide covers creating experiments from manifest files, running them, and monitoring their progress. |
| 37 | + |
| 38 | +### [Additional Commands](additional-commands.md) |
| 39 | +Explore additional litmusctl commands for account management, project operations, environment handling, and infrastructure management. |
| 40 | + |
| 41 | +## Quick Reference |
| 42 | + |
| 43 | +| Task | Command | |
| 44 | +|------|---------| |
| 45 | +| Setup account | `litmusctl config set-account` | |
| 46 | +| Connect infrastructure | `litmusctl connect chaos-infra` | |
| 47 | +| Create experiment | `litmusctl create chaos-experiment -f <file>` | |
| 48 | +| List projects | `litmusctl get projects` | |
| 49 | +| List infrastructures | `litmusctl get chaos-infra` | |
| 50 | + |
| 51 | +## Next Steps |
| 52 | + |
| 53 | +1. Start with [Connect Chaos Infrastructure](connect-chaos-infrastructure.md) to set up your first chaos infrastructure |
| 54 | +2. Move on to [Create Chaos Experiment](create-chaos-experiment.md) to run your first experiment |
| 55 | +3. Explore [Additional Commands](additional-commands.md) for advanced usage and management tasks |
0 commit comments