Skip to main content

PowerfulSeal - a powerful testing tool for Kubernetes clusters

Project description

PowerfulSeal

Travis PyPI

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.

Powerful Seal Logo
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 experiments
  • Prometheus and Datadog 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

Learn more

Installing

  • docker hub: docker pull bloomberg/powerfulseal:3.1.0
  • pip: pip install powerfulseal

Read about the PowerfulSeal


Footnotes

PowerfulSeal logo Copyright 2018 The Linux Foundation, and distributed under the Creative Commons Attribution (CC-BY-4.0) license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerfulseal-3.1.0.tar.gz (100.6 kB view details)

Uploaded Source

Built Distribution

powerfulseal-3.1.0-py3-none-any.whl (146.3 kB view details)

Uploaded Python 3

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

Hashes for powerfulseal-3.1.0.tar.gz
Algorithm Hash digest
SHA256 eeffa2c06739dd633577f355c9b72afd5b0e06c51bc27551a7fe5d9018ed682c
MD5 39e3804e3f4b733fe669508fe008033f
BLAKE2b-256 b66d835c7c46e072e0345208fa2589aaf5133c3f9f2530215fff033f85197a6f

See more details on using hashes here.

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

Hashes for powerfulseal-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e726afa1bba568ce4029aec36c65ce7523492358e4c6b7e9a5b688f3992c79b
MD5 ecc4206d53aa738653dde9ca950c41d0
BLAKE2b-256 b836ed8da716d05d29917febdc9afb4a73518595688b97a37f2ada5de98b863f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page