Gzchaos · Full

gzchaos inject network loss \ --target pod/frontend-7d8f9b6c4d-abc12 \ --namespace prod \ --duration 30s \ --loss-percent 100 \ --dry-run # preview without execution Confirm injection:

gzchaos revert --experiment-id <id> | Fault Type | Example Use | Key Parameters | |------------|--------------|----------------| | Latency | Simulate slow downstream DB | --latency 500ms --jitter 50ms | | Error injection | Test HTTP 500 / gRPC UNAVAILABLE | --error-code 500 --rate 0.3 | | Pod kill | Test controller rescheduling | --grace-period 0 --restart-policy never | | CPU stress | Trigger HPA scale‑up | --cores 2 --duration 60s | | Disk pressure | Simulate full tmpfs | --fill-mb 1024 --path /scratch | | DNS failure | Test fallback IP / cache | --domain api.example.com --nxdomain | 6. Safety & Guardrails Enable safeguards via config or flags: gzchaos

gzchaos status --experiment-id <id> Rollback immediately: gzchaos

gzchaos experiment run --safety-config safety.yaml safety.yaml example: gzchaos