Recommended Scenario

Container CPU scalability

Test that your service scales as expected when CPU capacity is limited. Gremlin will consume CPU in 3 stages: 50%, 75%, and 90%.

Experiment types

CPU

Targets

Containers

Length

15 minutes

How it works

How this Scenario works

This Scenario progressively consumes CPU within your containers in three stages: 50%, 75%, and 90%. This simulates CPU contention from resource-intensive workloads or under-provisioned container resource limits.

Use cases

Why run this Scenario?

  • Validate that container CPU resource limits are configured correctly and prevent resource starvation.
  • Verify that container health checks and orchestration detect CPU pressure and trigger appropriate responses.
  • Test how container resource limits interact with the host's CPU capacity under load.
  • Identify containers that are under-provisioned for CPU before they cause production performance issues.
Result

What to expect when you run it

As CPU usage increases within containers, the container runtime and orchestration layer automatically scale based on the thresholds you've set.

Avoid downtime. Use Gremlin to turn failure into resilience.

Gremlin empowers you to proactively root out failure before it causes downtime. See how you can harness chaos to build resilient systems by requesting a demo of Gremlin.

Product Hero ImageShape