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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ded55eb5a1ba99b9facaac6a0134baa46ace7939a483fa1a40e4307533023c |
|
MD5 | 466c75622d574702801f2fd52a067461 |
|
BLAKE2b-256 | dd0a8bb789c5cd0e0bd720f855faca12c32808f343e61a6aafc4058590acf260 |
Close
Hashes for chaostoolkit_kubernetes-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f2455221a9962e8570eef3f8c0ef863f0d46223dbf5f576edef5005586646f |
|
MD5 | 317a7e0b4b9565d06c074339337e3d15 |
|
BLAKE2b-256 | 799bb692ae6931794e819ca21b240057e5f844daf01455ebb63b5b0063de3d2e |