SECTOR 03 // REFERENCE

netem & resource

Composed Pumba providers for kernel-level network faults and resource exhaustion.

Composed Pumba faults. Two composed providers ship as examples (examples/faults/providers/) that drive Pumba for kernel-level network faults and resource exhaustion. They need the pumba binary on PATH and NET_ADMIN / privileged access on the target containers.

providerverbs
netemdelay (target, ms), loss (target, percent), rate (target, kbps), clear (target)
resourcecpu (target, load), memory (target, bytes), io (target, workers), clear (target)

Each fault verb runs Pumba under background and reverts on clear via stop_background. The background step declares effect: degradation, so the fault is tracked and the recovery check applies. netem complements toxiproxy: netem hits all traffic at the interface, with no proxy in the request path.

Caveats, all confirmed against a live Docker + Pumba run: