Skip to content

robusta-dev/robusta-chaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Chaos Engineering for Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages