An open API service indexing awesome lists of open source software.

https://github.com/litmuschaos/litmusctl

Command-Line tool to manage Litmuschaos's agent plane
https://github.com/litmuschaos/litmusctl

cli litmuschaos litmusctl

Last synced: 12 months ago
JSON representation

Command-Line tool to manage Litmuschaos's agent plane

Awesome Lists containing this project

README

          

# Litmusctl

[![BCH compliance](https://bettercodehub.com/edge/badge/litmuschaos/litmusctl?branch=master)](https://bettercodehub.com/)
![GitHub Workflow](https://github.com/litmuschaos/litmusctl/actions/workflows/push.yml/badge.svg?branch=master)
[![GitHub stars](https://img.shields.io/github/stars/litmuschaos/litmusctl?style=social)](https://github.com/litmuschaos/litmusctl/stargazers)
[![GitHub Release](https://img.shields.io/github/release/litmuschaos/litmusctl.svg?style=flat)]()

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.

## Usage

For more information including a complete list of litmusctl operations, see the litmusctl reference documentation.

* For 0.23.0 or latest: Click here
* For v0.12.0 to v0.22.0: Click here
* For v0.2.0 or earlier && compatible with Litmus-2.0.0-Beta8 or earlier: Click here

## Requirements

The litmusctl CLI requires the following things:

- kubeconfig - litmusctl needs the kubeconfig of the k8s cluster where we need to connect litmus Chaos Delegates. The CLI currently uses the default path of kubeconfig i.e. `~/.kube/config`.
- kubectl- litmusctl is using kubectl under the hood to apply the manifest. To install kubectl, follow: [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)

## Compatibility matrix

To check compatibility of litmusctl with Chaos Center

litmusctl version
Lowest Chaos Center supported version
Highest Chaos Center supported version

1.16.0
3.0.0
3.19.0


1.15.0
3.0.0
3.18.0


1.14.0
3.0.0
3.15.0


1.13.0
3.0.0
3.14.0


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

## Installation

To install the latest version of litmusctl follow the below steps:

Platforms
1.16.0
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
master(Unreleased)

litmusctl-darwin-amd64 (MacOS)
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-linux-386
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-linux-amd64
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-linux-arm
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-linux-arm64
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-windows-386
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-windows-amd64
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here


litmusctl-windows-arm
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here

### Linux/MacOS

- Extract the binary

```shell
tar -zxvf litmusctl---.tar.gz
```

- Provide necessary permissions

```shell
chmod +x litmusctl
```

- Move the litmusctl binary to /usr/local/bin/litmusctl. Note: Make sure to use root user or use sudo as a prefix

```shell
mv litmusctl /usr/local/bin/litmusctl
```

- You can run the litmusctl command in Linux/macOS:

```shell
litmusctl [options and parameters]
```

### Windows

- Extract the binary from the zip using WinZip or any other extraction tool.

- You can run the litmusctl command in windows:

```shell
litmusctl.exe [options and parameters]
```

- To check the version of the litmusctl:

```shell
litmusctl version
```

## Development Guide

You can find the local setup guide for **`litmusctl`** [here](DEVELOPMENT.md).

---