PowerfulSeal - a powerful testing tool for Kubernetes clusters
Project description
PowerfulSeal
PowerfulSeal injects failure into your Kubernetes clusters, so that you can detect problems as early as possible. It allows for writing scenarios describing complete chaos experiments.
Embrace the inevitable failure. Embrace The Seal.
Documentation
Please refer to the Powerfulseal documentation to learn how to use it.
Highlights
- works with
Kubernetes
,OpenStack
,AWS
,Azure
,GCP
and local machines yaml
policies describing complete chaos experimentsPrometheus
andDatadog
metrics collection- multiple modes for differnt use cases
Hello world!
Just to give you a taste, here's an example policy. It will kill a single pod, and then check that the service continues responding to HTTP probes, to verify its resiliency to one of its pods going down.
scenarios:
- name: Kill one pod in my namespace, make sure the service responds
steps:
# kill a pod from `myapp` namespace
- podAction:
matches:
- namespace: myapp
filters:
- randomSample:
size: 1
actions:
- kill:
probability: 0.75
# check my service continues working
- probeHTTP:
target:
service:
name: my-service
namespace: myapp
endpoint: /healthz
Assuming that's in policy.yml
, you can run it like this:
powerfulseal autonomous --policy-file ./policy.yaml
Installing
- docker hub:
docker pull bloomberg/powerfulseal:3.1.0
- pip:
pip install powerfulseal
Read about the PowerfulSeal
- https://medium.com/faun/failures-are-inevitable-even-a-strongest-platform-with-concrete-operations-infrastructure-can-7d0c016430c6
- https://www.techatbloomberg.com/blog/powerfulseal-testing-tool-kubernetes-clusters/
- https://siliconangle.com/blog/2017/12/17/bloomberg-open-sources-powerfulseal-new-tool-testing-kubernetes-clusters/
- https://github.com/ramitsurana/awesome-kubernetes#testing
- https://github.com/ramitsurana/awesome-kubernetes#other-useful-videos
- https://github.com/dastergon/awesome-chaos-engineering#notable-tools
- https://www.linux.com/news/powerfulseal-testing-tool-kubernetes-clusters-0
- https://www.infoq.com/news/2018/01/powerfulseal-chaos-kubernetes
- PowerfulSeal presentation at KubeCon 2017 Austin
Footnotes
PowerfulSeal logo Copyright 2018 The Linux Foundation, and distributed under the Creative Commons Attribution (CC-BY-4.0) license.
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
File details
Details for the file powerfulseal-3.1.0.tar.gz
.
File metadata
- Download URL: powerfulseal-3.1.0.tar.gz
- Upload date:
- Size: 100.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeffa2c06739dd633577f355c9b72afd5b0e06c51bc27551a7fe5d9018ed682c |
|
MD5 | 39e3804e3f4b733fe669508fe008033f |
|
BLAKE2b-256 | b66d835c7c46e072e0345208fa2589aaf5133c3f9f2530215fff033f85197a6f |
File details
Details for the file powerfulseal-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: powerfulseal-3.1.0-py3-none-any.whl
- Upload date:
- Size: 146.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e726afa1bba568ce4029aec36c65ce7523492358e4c6b7e9a5b688f3992c79b |
|
MD5 | ecc4206d53aa738653dde9ca950c41d0 |
|
BLAKE2b-256 | b836ed8da716d05d29917febdc9afb4a73518595688b97a37f2ada5de98b863f |