Skip to content

Release 1.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 14:31

Pumba 1.0.0

First 1.0 release. Introduces multi-runtime support: pumba can now drive Docker or containerd via the same CLI. Runtime selection is explicit via --runtime.

Runtime abstraction (#295, #296, #297, #298)

  • Container model decoupled from Docker SDK types (pkg/container/).
  • Monolithic Client split into focused sub-interfaces — Lister, Lifecycle, Executor, Netem, IPTables, Stressor — each chaos command takes only what it needs. Cleaner test surface, fewer cross-concerns.
  • Docker implementation moved to pkg/runtime/docker/.
  • New pkg/runtime/containerd/ implementation: task lifecycle (kill, stop, pause, unpause, restart, rm), direct tc/iptables exec for network chaos, stress-ng exec, IP/port filtering via netem sidecar.
  • Graceful handling of Docker-managed containers in containerd's moby namespace.

CLI

--runtime              docker (default) | containerd
--containerd-socket    default /run/containerd/containerd.sock
--containerd-namespace default k8s.io  (use moby for Docker-managed)

Containerd caveats

  • Containers identified by ID (no Docker-style friendly names).
  • Network chaos requires tc/iptables in the target image.
  • Stress testing requires stress-ng in the target image (or the sidecar modes added in 1.0.4).
  • rm on Docker-managed containers kills the task but Docker retains metadata.

Infrastructure (#299)

Release builds switched from QEMU emulation to native multi-arch runners — amd64 on ubuntu-24.04, arm64 on ubuntu-24.04-arm. Digest-based push + manifest merge. Faster and more reliable.

Testing

  • 55 new unit tests for the containerd package.
  • 11 containerd integration tests (kill, restart, exec, stop, pause, rm, netem ×2, stress, …).
  • Existing Docker suite (54+ tests) passes — zero regression.
  • Test infrastructure hardened: kernel-level assertions in bats, bats-assert, 32 new tests.

Full Changelog: 0.12.3...1.0.0