https://github.com/brunobonacci/bad-boy
Chaos testing and infrastructure hardening tool.
https://github.com/brunobonacci/bad-boy
Last synced: over 1 year ago
JSON representation
Chaos testing and infrastructure hardening tool.
- Host: GitHub
- URL: https://github.com/brunobonacci/bad-boy
- Owner: BrunoBonacci
- License: apache-2.0
- Created: 2019-08-03T18:34:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T23:24:42.000Z (over 5 years ago)
- Last Synced: 2025-01-22T05:28:32.323Z (over 1 year ago)
- Language: Clojure
- Size: 68.4 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bad-boy
Chaos testing and infrastructure hardening tool.
## Usage

Bad stuff in progress, more to come...!
- for production environments
```
# 30% of chance to be killed on a daily basis.
1cfg -k bad-boy -e prd -v 0.5.0 -t edn SET '{:groups {:all {:attack-rate [0.30 :daily]}}}'
```
- for event logging data
```
# 30% of chance to be killed on a daily basis.
1cfg -k bad-boy -e prd -v 0.5.0 -t edn SET '
{:groups {:all {:attack-rate [0.30 :daily]}}
;; send log events to the following destinations
:mulog
{:type :multi
:publishers
[{:type :console :pretty? true}
{:type :cloudwatch :group-name "mulog"}
{:type :elasticsearch :url "http://localhost:9200/"}]}
}'
```
- for bad-boy development
```
# For delevelopment with 100% probability to kill
1cfg -b fs -k bad-boy -e local -v 0.5.0 -t edn SET '{:groups {:all {:attack-rate [1 :minute]}}}'
export DRY_RUN=1
lein run
```
## License
Copyright © 2019-2020 Bruno Bonacci - Distributed under the [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0)