Configures Gremlin (commercial) for cross-platform chaos engineering (fault injection, resilience testing) - installs the Gremlin agent on Linux / Windows / Kubernetes, picks attack types (resource, network, state, request), chains attacks into Scenarios (chaos experiments), integrates with the Reliability Score for forward-looking metrics. Use when the platform spans multiple environments (bare metal + cloud + serverless) and the team needs a commercial-supported solution per Gremlin's multi-platform support.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
High
Do not use without reviewing
Gremlin is a commercial reliability platform for fault injection across bare metal, on-prem, multi-cloud, and serverless. It assigns each service a forward-looking Reliability Score from repeated resilience tests, so teams fix likely failure points before an incident (per gremlin-home).
If the team is K8s-only and OSS-preferred, see
litmus-chaos or
chaos-mesh.
Linux:
sudo apt install -y gremlin
sudo gremlin auth login --org-id <org-id> --user-id <user-id> --api-token <token>Kubernetes:
helm repo add gremlin https://helm.gremlin.com
helm install gremlin gremlin/gremlin \
--namespace gremlin --create-namespace \
--set gremlin.secret.create=true \
--set gremlin.secret.teamID=<team-id> \
--set gremlin.secret.clusterID=<cluster-id> \
--set gremlin.secret.teamSecret=<secret>The agent connects to the Gremlin Control Plane (cloud); attacks trigger via web UI or API.
Gremlin groups fault injections into four classes (per gremlin-home and the Gremlin docs):
| Class | Representative attacks | Effect |
|---|---|---|
| Resource | CPU, Memory, Disk I/O, Disk space | Starve or saturate a host resource |
| Network | Latency, Packet loss, DNS, Blackhole | Degrade or sever connectivity |
| State | Shutdown, Process killer, Time travel | Disrupt host / process state |
| Request | Request injection | Modify HTTP requests in flight |
The full per-attack table (all twelve attacks with their exact effect) lives in references/advanced-operations.md.
A single end-to-end experiment: inject 500ms latency into the
checkout service, scoped to one container for five minutes.
curl -X POST "https://api.gremlin.com/v1/attacks/new" \
-H "Authorization: Key $GREMLIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"command": {
"type": "latency",
"args": ["-l", "300", "-m", "500", "-c", "1", "-h", "^checkout\\..*$"]
},
"target": {
"type": "Random",
"percent": 10,
"containers": { "labels": { "app": "checkout" } }
}
}'Scenarios (chaining this latency attack with a downstream packet-loss attack), the Reliability Score model, the full CI workflow, and the compliance / audit posture are in references/advanced-operations.md.
| Anti-pattern | Why it fails | Fix |
|---|---|---|
| Manual UI-only attacks | Doesn't scale; per chaos principle 4 must automate. | API-driven Scenarios (references/advanced-operations.md). |
| Skipping abort conditions | Attack runs past safety threshold. | Define abort signals on every Scenario (references/advanced-operations.md). |
| Treating Reliability Score as the only signal | Score is service-level; per-attack verdicts matter too. | Both Score (trend) + per-attack verdicts (detail). |
| One-shot installation; team forgets | License paid; not used. | Schedule attacks; build into release process. |
| Production attacks without playbook | Real incident if attack escalates. | Per chaos-experiment-author: blast radius + abort. |
litmus-chaos,
chaos-mesh - open-source K8s-only
alternatives.chaos-experiment-author - methodology Gremlin Scenarios implement.