Chaos Toolkit Kubernetes support
Project description
# Chaos Toolkit Kubernetes Support
This project contains activities, such as probes and actions, you can call from
your experiment through the Chaos Toolkit.
## Install
To be used from your experiment, this package must be installed in the Python
environment where [chaostoolkit][] already lives.
[chaostoolkit]: https://github.com/chaostoolkit/chaostoolkit
```
$ pip install chaostoolkit-kubernetes
```
## Usage
First, in your experimenty project, make sure
To use the probes and actions from this package, add the following to your
experiment file:
```json
{
"title": "Our microservice should really be gone by now",
"layer": "kubernetes",
"type": "python",
"module": "chaosk8s.probes",
"func": "microservice_available_and_healthy",
"arguments": {
"name": "mysvc"
}
}
```
That's it!
Please explore the code to see existing provbes and actions.
## Contribute
If you wish to contribute more functions to this package, you are more than
welcome to do so. Please, fork this project, make your changes following the
usual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for
review.
[pep8]: https://pycodestyle.readthedocs.io/en/latest/
This project contains activities, such as probes and actions, you can call from
your experiment through the Chaos Toolkit.
## Install
To be used from your experiment, this package must be installed in the Python
environment where [chaostoolkit][] already lives.
[chaostoolkit]: https://github.com/chaostoolkit/chaostoolkit
```
$ pip install chaostoolkit-kubernetes
```
## Usage
First, in your experimenty project, make sure
To use the probes and actions from this package, add the following to your
experiment file:
```json
{
"title": "Our microservice should really be gone by now",
"layer": "kubernetes",
"type": "python",
"module": "chaosk8s.probes",
"func": "microservice_available_and_healthy",
"arguments": {
"name": "mysvc"
}
}
```
That's it!
Please explore the code to see existing provbes and actions.
## Contribute
If you wish to contribute more functions to this package, you are more than
welcome to do so. Please, fork this project, make your changes following the
usual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for
review.
[pep8]: https://pycodestyle.readthedocs.io/en/latest/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for chaostoolkit-kubernetes-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272415136b4c68e85b035fd7627292171e5475a51013d206ad2cf514b1c27065 |
|
MD5 | f0d5389dc0cc4496eb25b87b6b89fe7d |
|
BLAKE2b-256 | 1c62cf13eec1cfbc680b9e25f16cfe63177c2b1f12a229edbd7458bf61ec71c2 |
Close
Hashes for chaostoolkit_kubernetes-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d80e6ee4f723d1baafc828660c004d49d4412d26e3f217894bf3c9c96459acd |
|
MD5 | 2ca32ffc9764bfe520430270f4f5d9d3 |
|
BLAKE2b-256 | 90fa976a68a6b4128328f0bb7de4256d3c49924f2dcc89217d8b062ea38f3905 |