1---2name: chaos-engineering-incident-drill3enabled: true4description: |5 Use when performing chaos engineering incident drill — planned failure6 injection exercise framework with observation checklists, hypothesis7 definition, blast radius controls, rollback procedures, and post-drill8 analysis. Guides teams through designing, executing, and learning from9 controlled chaos experiments to validate incident response readiness and10 system resilience.11required_connections:12 - prefix: slack13 label: "Slack (for drill coordination)"14config_fields:15 - key: drill_name16 label: "Drill Name"17 required: true18 placeholder: "e.g., Database failover drill"19 - key: target_service20 label: "Target Service/System"21 required: true22 placeholder: "e.g., payment-api, Redis cluster"23 - key: drill_date24 label: "Scheduled Date"25 required: true26 placeholder: "e.g., 2024-02-15 14:00 UTC"27 - key: environment28 label: "Target Environment"29 required: false30 placeholder: "e.g., staging, production-canary"31features:32 - INCIDENT33metadata:34 source: https://skillmd.com/skills/cloudthinker-ai/chaos-engineering-incident-drill35---3637# Chaos Engineering Incident Drill3839Drill: **{{ drill_name }}**40Target: **{{ target_service }}** | Environment: **{{ environment }}**41Scheduled: **{{ drill_date }}**4243## Pre-Drill Planning4445### Hypothesis46Define what you expect to happen:4748> **Hypothesis:** When [failure injection], we expect [expected behavior]. The system should [recover/failover/degrade gracefully] within [time threshold] and monitoring should detect the issue within [detection threshold].4950### Blast Radius Controls51- [ ] Drill is scoped to a single service / availability zone / percentage of traffic52- [ ] Kill switch is prepared and tested (how to stop the experiment instantly)53- [ ] Affected downstream services identified and owners notified54- [ ] Customer impact assessment completed (expected: none / minimal / controlled)55- [ ] Rollback procedure documented and ready5657### Prerequisites Checklist58- [ ] Stakeholders notified (engineering, SRE, support, management)59- [ ] On-call team aware and standing by60- [ ] Monitoring dashboards open and shared61- [ ] Baseline metrics captured (latency, error rate, throughput)62- [ ] Experiment tooling tested (Chaos Monkey, Litmus, Gremlin, etc.)63- [ ] Incident channel created for drill coordination64- [ ] No conflicting deployments or maintenance windows65- [ ] Runbooks for the target service reviewed6667### Abort Criteria68Stop the experiment immediately if:69- [ ] Customer impact exceeds expected threshold70- [ ] Error rates exceed ___% for more than ___ minutes71- [ ] Cascading failures detected beyond target blast radius72- [ ] Recovery does not begin within ___ minutes73- [ ] A real incident is declared during the drill7475## Experiment Design7677### Failure Injection Scenarios7879| Scenario | Injection Method | Expected Behavior | Duration |80|----------|-----------------|-------------------|----------|81| _e.g., Kill primary DB_ | _terminate instance_ | _failover to replica_ | _5 min_ |82| _e.g., Network partition_ | _block traffic on port_ | _circuit breaker activates_ | _3 min_ |83| _e.g., CPU saturation_ | _stress-ng 100% CPU_ | _autoscaling triggers_ | _10 min_ |8485### Observation Points8687| What to Observe | Dashboard/Tool | Baseline Value | Threshold |88|----------------|---------------|---------------|-----------|89| Error rate | _Grafana/Datadog_ | _< 0.1%_ | _> 1%_ |90| Latency p99 | _APM tool_ | _200ms_ | _> 2000ms_ |91| Alert firing | _PagerDuty_ | _none_ | _within 5 min_ |92| Auto-recovery | _K8s/ASG_ | _N/A_ | _within 10 min_ |9394## Drill Execution9596### Phase 1: Baseline (T-10 min)97- [ ] Capture baseline metrics screenshot98- [ ] Confirm all monitoring is green99- [ ] Announce drill start in incident channel100- [ ] Confirm kill switch operator is ready101102### Phase 2: Injection (T=0)103- [ ] Execute failure injection104- [ ] Start timer105- [ ] Begin observation log106107### Phase 3: Observation (T+0 to T+N)108109**Observation Log:**110111| Time | Observation | Expected? | Notes |112|------|-------------|-----------|-------|113| T+0 | _injection executed_ | _yes_ | — |114| T+1m | _what happened_ | _yes/no_ | — |115| T+5m | _what happened_ | _yes/no_ | — |116117### Phase 4: Recovery (after injection ends or abort)118- [ ] Stop failure injection / activate kill switch119- [ ] Monitor recovery metrics120- [ ] Record time to recovery121- [ ] Verify service returns to baseline122123### Phase 5: Wrap-Up124- [ ] Announce drill complete in incident channel125- [ ] Capture post-drill metrics screenshot126127## Post-Drill Analysis128129### Results Summary130131| Aspect | Expected | Actual | Pass/Fail |132|--------|----------|--------|-----------|133| Detection time | _X min_ | _Y min_ | _pass/fail_ |134| Alert fired correctly | _yes_ | _yes/no_ | _pass/fail_ |135| Auto-recovery worked | _yes_ | _yes/no_ | _pass/fail_ |136| Recovery time | _X min_ | _Y min_ | _pass/fail_ |137| Customer impact | _none_ | _none/minimal_ | _pass/fail_ |138| Blast radius contained | _yes_ | _yes/no_ | _pass/fail_ |139140### Hypothesis Validation141- **Confirmed / Partially Confirmed / Refuted**142- Key findings: ___143144### Findings and Action Items145146| Finding | Severity | Action Item | Owner | Ticket |147|---------|----------|-------------|-------|--------|148| _finding_ | _high/med/low_ | _action_ | _name_ | _link_ |149150### Recommendations for Next Drill151- Suggested next experiment: ___152- Environment upgrade needed: ___153- Tooling improvements: ___154155## Counter-Rationalizations156157| Shortcut | Counter | Why |158|----------|---------|-----|159| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |160| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |161| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |162| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |163| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |164