Skip to content
masterclass Buddy

Kubernetes · Command

kubectl rollout undo

Roll back a Deployment or another supported workload to an earlier rollout state. By default, it uses the previous known state; --to-revision selects a specific revision.

Last updated

Syntax

kubectl rollout undo (TYPE NAME | TYPE/NAME) [flags]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • kubectl rollout
  • Deployments
  • ReplicaSets
  • RollingUpdate

Source: kubectl rollout undo | Kubernetes. Checked 2026-11-03.