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

https://github.com/err0r500/chaos-container


https://github.com/err0r500/chaos-container

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Chaos-container

This simple container can be used in your chaos engineering experiments

## Status code

- get returns a 500 on every request

```
docker run -p 8080:8080 err0r500/chaos-container
```

- status env var can be used in order to customize the response code

```
docker run -p 8080:8080 -e STATUS=503 err0r500/chaos-container
```

- freq env var can be used in order to customize frequency of the response code (200 the rest of the time)

```
docker run -p 8080:8080 -e STATUS=503 FREQ=50 err0r500/chaos-container
```