DELAPARRA
Index
Color
NL
Category: Kubernetes

rollout

Explained by Updated

What is rollout?

rollout: Manage and inspect rolling updates — check status, pause, resume, undo to a previous revision, or restart Pods. kubectl rollout manages rolling updates of Deployments, StatefulSets and DaemonSets. kubectl rollout status deployment/web waits until a new version is fully rolled out, and fails if it gets stuck. kubectl rollout undo deployment/web goes back to the previous version, which is often the fastest fix after a bad deploy. kubectl rollout history lists earlier revisions, and kubectl rollout restart replaces all pods with fresh ones using the same image, which is handy after a ConfigMap or Secret change.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about rollout

What should you keep in mind with rollout?

Use rollout status in deploy scripts and pipelines, so the pipeline only reports success when the new pods are actually running and ready. Add a change-cause annotation to record why each revision was deployed. Combined with readiness probes, this gives you deploys that stop on their own when the new version is not healthy.

What does an example of rollout look like?

kubectl rollout status deployment/web kubectl rollout undo deployment/web kubectl rollout restart deployment/web

At a glance

CategoryKubernetes
Explained by
Updated

More Kubernetes terms

All terms starting with R

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.