Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bscott/chaosrancher
chaosrancher periodically kills random services in your Rancher Stack/Cluster.
https://github.com/bscott/chaosrancher
chaos-monkey docker go rancher
Last synced: about 2 months ago
JSON representation
chaosrancher periodically kills random services in your Rancher Stack/Cluster.
- Host: GitHub
- URL: https://github.com/bscott/chaosrancher
- Owner: bscott
- License: apache-2.0
- Created: 2017-03-22T17:37:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T08:35:18.000Z (over 7 years ago)
- Last Synced: 2024-07-31T07:15:32.908Z (5 months ago)
- Topics: chaos-monkey, docker, go, rancher
- Language: Go
- Size: 1.14 MB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rancher - ChaosRancher - ChaosRancher periodically kills random services in your Rancher Stack/Cluster. (Rancher 1.0 / Community projects 1.0)
README
# chaosrancher
[![Docker Repository on Quay](https://quay.io/repository/bscott/chaosrancher/status "Docker Repository on Quay")](https://quay.io/repository/bscott/chaosrancher)## Why
Test how your system behaves under arbitrary service failures.
## Setup
ChaosRancher reads from enviroment varibles to authenticate to Rancher API (v2-beta is only supported at the moment, v1 is not)
```console
# Set the url that Rancher is on
$ export RANCHER_URL=http://:8080
# Set the access key, i.e. username
$ export RANCHER_ACCESS_KEY=
# Set the secret key, i.e. password
$ export RANCHER_SECRET_KEY=
```## Example
Running it will kill a service in any stack every 10 minutes by default.
```console
$ chaosrancher
```or Deploy ChaosRancher in Rancher's Sandbox environment:
[Try Rancher](https://try.rancher.com/login)
## Filtering Services
To select a specific environment that should be targeted:
```console
# Set the environment to use, you can use either environment ID or environment name
$ export RANCHER_ENVIRONMENT=
```## Contributing
Feel free to create issues or submit pull requests.