Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.37 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.37 KB

Introduction

Chaos-engineering for Kubernetes using Robusta

  1. Generate OOMs
  2. Generate high cpu
  3. Make nodes unresponsive by creating kubelet issues

More to come soon!

Why another chaos engineering tool

Because we love Python.

We want chaos engineering to be simpler.

We want to make the chaos scenarios easily understandable by everyone who knows a little Python.

We want to make it easier to add your own chaos scenarios specific to your company.

Robusta lets us do all of that with one simple Python function per chaos scenario.

Is it really that simple?

Yes! Look at the code for the kill_node action.

This is invoked using:

robusta playbooks trigger kill_node name=<node-name>

All the wiring and annoying parts are handled by Robusta. The kill_node action contains logic but no boilerplate wiring.

See the Robusta docs on manual triggers to understand how this works.

Examples

  1. Scale a deployment up and down
customPlaybooks:
- triggers:
  - on_schedule:
      fixed_delay_repeat:
        repeat: -1
        seconds_delay: 60
  actions:
  - scale_deployment:
      name: nginx-deployment
      namespace: default
      replicas: 300