Chaos-engineering for Kubernetes using Robusta
- Generate OOMs
- Generate high cpu
- Make nodes unresponsive by creating kubelet issues
More to come soon!
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.
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.
- 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