Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steadybit/cli
Command-line interface to interact with the Steadybit API
https://github.com/steadybit/cli
Last synced: 5 days ago
JSON representation
Command-line interface to interact with the Steadybit API
- Host: GitHub
- URL: https://github.com/steadybit/cli
- Owner: steadybit
- License: mit
- Created: 2022-02-04T07:27:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-30T10:05:27.000Z (about 1 month ago)
- Last Synced: 2025-01-29T05:32:34.979Z (13 days ago)
- Language: TypeScript
- Size: 1 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Steadybit CLI
**[Installation](#installation) |**
**[Authorization](#authorization) |**
**[Usage](#usage) |**
**[Changelog](CHANGELOG.md)**---
The Steadybit CLI enables you to use the Steadybit platform features easier in an automated way and implement e.g. GitOps practices easily.
You can retrieve, create or adjust experiment designs as well as running them straight away.## Prerequisites
- You need to have a Steadybit account. You can create a free account [via our website](https://www.steadybit.com/get-started/).
- at least Node.js 16 as local runtime## Installation
Via npm
```sh
npm install -g steadybit
```## Authorization
You need an API access token. You can grab one via our [platform](https://platform.steadybit.io/settings/api-tokens) through the `Settings -> API Access Tokens` page.
```bash
➜ steadybit config profile add
? Profile name: steadybit
? API access token: [hidden]
? Base URL of the Steadybit server: https://platform.steadybit.io
```## Usage
Get an existing experiment yaml from Steadybit and write it to file:
```bash
steadybit experiment get -k ADM-1 -f experiment.yml
```Only apply the experiment:
```bash
steadybit experiment apply -f experiment.yml
```Apply and run the experiment in one step:
```bash
steadybit experiment run -f experiment.yml
```Run existing experiment:
```bash
steadybit experiment run -k ADM-1
```Dump all experiments and executions from all teams:
```bash
steadybit experiment dump -d ./dump
```Validate advice status
```bash
steadybit validate-status -e "Global" -q "k8s.cluster-name=dev-demo and k8s.namespace=steadybit-demo"
```## Container Image
You can also use the cli via our container image:
```sh
docker run -e"STEADYBIT_TOKEN=****" steadybit/cli:latest experiment get -k ADM-1
```