GithubHelp home page GithubHelp logo

95rade / powerfulseal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from powerfulseal/powerfulseal

0.0 1.0 0.0 8.3 MB

A powerful testing tool for Kubernetes clusters.

License: Apache License 2.0

Makefile 0.59% Python 98.22% Dockerfile 0.56% Shell 0.04% JavaScript 0.60%

powerfulseal's Introduction

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.

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 powerfulseal/powerfulseal:3.1.1
  • 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.

powerfulseal's People

Contributors

seeker89 avatar dgzlopes avatar dnascimento avatar kpfleming avatar mikeln avatar alexandrst88 avatar skamboj avatar jcstanaway avatar mkartashov avatar odidev avatar caniszczyk avatar pcc-damatj avatar dependabot[bot] avatar mhamdisemah avatar arseniipetrovich avatar gaborbernat avatar hassenius avatar sejeff avatar jpenekusu avatar clickthisnick avatar jdamata avatar paigerube14 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.