CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

Troubleshooting a Stalled Rollout

A Deployment that stops half way and keeps serving traffic while it does. This reads both conditions, shows the two ReplicaSets that make it safe, and undoes it.

Troubleshooting Guide 86 of 103 Intermediate

progressDeadlineSeconds is set to 30 here so the failure is watchable. The default is 600, which is ten minutes of looking like nothing is wrong.

Four nodes with three replicas spread across the workers.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

This guide includes

Use this when a Deployment has stopped half way and is still serving traffic. This matters because a stalled rollout is not an outage - two ReplicaSets exist at once, and the old one is what keeps the site up while you decide what to do.

Before you start

  1. A healthy Deployment, with a short deadline so this is watchable

  2. Roll out an image that cannot start

  3. What the Deployment says about it

  4. The two ReplicaSets

  5. Undo it

Official sources