sincecutoff.com
← all changes

stern adds --qps and --burst for Kubernetes API throttling

Introduced 2026-05-02 · score 0.94

HOW TO USE IT

When tailing many pods and limiting load on the Kubernetes API server, run Stern with `--qps` and `--burst` to set the client-side throttle limits.

stern . --qps 10 --burst 20

WHY THIS HELPS

When tailing many pods and controlling request load on the Kubernetes API server, configure client-side throttling.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.34.0
  • pod-query (`.`) (required): A regular expression or Kubernetes resource query used to select pods; `.` matches pod names.
  • --qps <number>: Maximum QPS to the Kubernetes API server. Default 0 uses the client-go default; `-1` disables client-side throttling.
  • --burst <number>: Maximum burst for throttling requests to the Kubernetes API server. Default 0 uses the client-go default; ignored when `--qps=-1`.
  • Prerequisite: Stern must be installed. It uses the Kubernetes context configured for the client; `$KUBECONFIG` can specify a kubeconfig file, or use `--kubeconfig`.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card