liveBook · Manning

Kubectl rollout restart

kubectl rollout restart is a kubectl command that initiates a new rollout by recreating the Pods managed by a Kubernetes workload.

How 2 Manning books explain it

Kubernetes in Action, Second Edition

kubectl rollout restart is a kubectl command that recreates the pods managed by a workload resource.

How it is used
Restarts every Pod managed by a Deployment while retaining the Deployment’s configured update strategy.
How deep it goes
Defines Pod deletion and replacement, then distinguishes gradual RollingUpdate behavior from simultaneous Recreate behavior.
Examples
Uses the kubectl rollout restart command to restart all Pods belonging to a Deployment.
What you can do after
Operate a Deployment restart while anticipating availability differences between RollingUpdate and Recreate.

Read how Kubernetes in Action, Second Edition explains kubectl rollout restart →

Road to Kubernetes

kubectl rollout restart is a kubectl command that triggers a new rollout of a Kubernetes workload without deleting the workload resource.

How it is used
Triggers fresh Kubernetes Deployment rollouts after applying application manifests in an automated deployment workflow.
How deep it goes
Explains the command’s purpose and placement in a workflow, but does not detail rollout internals or status monitoring.
Examples
Uses py-deploy and js-deploy commands within a workflow that applies manifests and inspects Pods and Deployments.
What you can do after
Operate/configure Kubernetes Deployments by restarting rollouts when unchanged manifests do not reveal updated :latest images.

Read how Road to Kubernetes explains kubectl rollout restart →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.