Intentional failure injection for system resilience testing. Use when: validating fault tolerance, testing SLOs under stress, or preparing for incidents.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Intentional failure injection for system resilience testing. Use when: validating fault tolerance, testing SLOs under stress, or preparing for incidents.
Chaos Engineering
Proactive resilience testing through controlled experiments.
Core Principle
"Break things in production to prove they won't break."
Chaos Experiments
1. Network Failure
# Inject latency
tc qdisc add dev eth0 root netem delay 100ms
# Packet loss
tc qdisc add dev eth0 root netem loss 5%
# Kill random pods
kubectl delete pod --all -n default --force
Experiment Template
experiment:name:"database-connection-failure"hypothesis:"API returns graceful error when DB is unavailable"method:-Inject:killdatabaseconnectionpool-Measure:errorresponsetime<500ms-Monitor:nodatacorruptionrollback:restoreconnectionpoolblast_radius:limitedto/api/usersendpoint