Kubernetes: deployment exceeded its progress deadline
The rollout waited ten minutes for new Pods to become available. Read the Progressing condition, then fix image pulls, probes, quota, and scheduling.

Introduction & Quick Summary
CI fails at the last step with one line:
error: deployment "web" exceeded its progress deadline
kubectl rollout status deployment/web waited for the Deployment to make progress and gave up. This is not an API error and not a YAML error: the Deployment was created, and its ReplicaSet exists. The controller decided that no new Pod became available before progressDeadlineSeconds elapsed, which defaults to 600 seconds.
Where it appears:
- A pipeline running
kubectl rollout statusafterkubectl apply. - A new image that cannot be pulled, so the new ReplicaSet never becomes available.
- Pods that start and crash in a loop before passing readiness.
- A rollout blocked by a PodDisruptionBudget, a ResourceQuota, or unschedulable nodes.
- A readiness probe that points at the wrong port or path, so the container is running but never Ready.
Quick answer: read the Deployment's Progressing condition and the ReplicaSet events first, fix the reason the new Pods are unavailable, and only then rerun. Raising the timeout while Pods keep crashing only delays the same failure by ten minutes.
Core Mechanics, Signatures & Reproducible Setup
A Deployment rollout progresses when its new ReplicaSet scales up and at least the minimum available Pods pass readiness. The Deployment controller compares that state with progressDeadlineSeconds; when nothing changes in that window it sets:
status:
conditions:
- type: Progressing
status: "False"
reason: ProgressDeadlineExceeded
message: ReplicaSet "web-6f9c8b7d5" has timed out progressing.kubectl rollout status returns exit code 1 for exactly that condition (and 0 once the rollout completes), which is why it is the standard gate in CI.
Reproduce on any cluster with a deliberately broken image:
kubectl create deployment web --image=nginx:1.27
kubectl set image deployment/web nginx=nginx:does-not-exist
kubectl rollout status deployment/web --timeout=60s
# error: deployment "web" exceeded its progress deadlineThen read what actually happened, in this order:
kubectl get deployment web -o wide
kubectl get replicaset -l app=web
kubectl describe deployment web | sed -n '/Conditions:/,/Events:/p'
kubectl describe pod -l app=webThe condition message names the stuck ReplicaSet; the Pod events name the reason. The two together are the whole diagnosis.
The condition reasons you will meet:
| Reason | Meaning | First command |
|---|---|---|
ProgressDeadlineExceeded | no availability change within the deadline | kubectl describe rs |
NewReplicaSetAvailable | rollout finished | none, this is success |
ReplicaSetUpdated | new ReplicaSet scaled, Pods not ready yet | kubectl get pods |
DeploymentPaused | rollout paused by a kubectl rollout pause | kubectl rollout resume |
Key Comparison Table
What actually blocks a rollout, ranked by frequency:
| Symptom in Pod events | Root cause | Fix |
|---|---|---|
ErrImagePull / ImagePullBackOff | wrong tag, private registry, missing imagePullSecrets | fix tag or credentials |
FailedScheduling | insufficient CPU/memory, taint, affinity | adjust requests or nodes |
CrashLoopBackOff | application exits before serving | read kubectl logs --previous |
Readiness probe failed | wrong port, path, or startup time | fix probe or add startupProbe |
Forbidden: exceeded quota | ResourceQuota or LimitRange | raise quota or lower requests |
Pending with no events | scheduler has no matching node | describe the Pod |
context deadline exceeded on kubectl calls | API server or webhook slow | check admission webhooks |
Timeout choices and their meaning:
| Setting | Default | Consequence |
|---|---|---|
progressDeadlineSeconds | 600 | controller marks the rollout failed after 10 min without progress |
minReadySeconds | 0 | Pod counts as available the moment it is Ready |
kubectl rollout status --timeout | none (waits) | client-side wait, independent of the controller |
readinessProbe.initialDelaySeconds | 0 | a slow app reports not Ready until the first success |
terminationGracePeriodSeconds | 30 | old Pods linger during a rolling update |
Practical Edge Cases, Error Fixes & Deep Dive Code Examples
1. The image does not exist, and the deadline hides it
ImagePullBackOff never changes state quickly, so the controller sees "no progress" for ten minutes. Confirm the tag exists before rolling out:
kubectl get deployment web -o jsonpath='{.spec.template.spec.containers[*].image}'
kubectl describe pod -l app=web | grep -A3 "Events:"For private registries, the error is 401 Unauthorized or pull access denied inside the event, and the fix is a imagePullSecrets entry on the pod template, not on the Deployment metadata:
spec:
template:
spec:
imagePullSecrets:
- name: registry-credentialsA secret that exists in another namespace is invisible: Secrets are namespaced.
2. Readiness probes that never pass
A container can be healthy and still never Ready, which keeps the rollout at zero available. A Java service that boots in 70 seconds with a 1-second initialDelaySeconds and no startupProbe is the canonical example:
spec:
containers:
- name: api
readinessProbe:
httpGet:
path: /healthz
port: 8080
periodSeconds: 5
failureThreshold: 3
startupProbe: # gives JVM boot time without weakening readiness
httpGet:
path: /healthz
port: 8080
failureThreshold: 30
periodSeconds: 2startupProbe disables the other probes until it succeeds, so a slow start does not produce a restart loop. Readiness then means "can serve traffic", which is what the Deployment needs.
3. A PodDisruptionBudget or quota blocks the new ReplicaSet
With maxUnavailable: 0 and a PDB of minAvailable: 3 on a 3-replica Deployment, nothing can be replaced. The events read Cannot create new pods: pods "web-..." is forbidden: exceeded quota or the old Pods simply never terminate. Check both objects before touching the Deployment:
kubectl get pdb
kubectl get resourcequota -o custom-columns=NAME:.metadata.name,HARD:.status.hard,USED:.status.usedFor a rollout that must complete, allow one unavailable Pod (maxUnavailable: 25%), or scale the Deployment up by one before updating so the new Pod fits without removing an old one.
4. Rollouts that hang on scheduler constraints
FailedScheduling messages are explicit: 0/6 nodes are available: 3 Insufficient cpu, 3 node(s) had untolerated taint. The Deployment then waits, the deadline expires, and the cause is in the Pod description rather than in the Deployment status. Two fixes that avoid future failures:
spec:
template:
spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway # DoNotSchedule stalls rollouts
labelSelector:
matchLabels:
app: webScheduleAnyway keeps the constraint advisory, so a cluster without enough spread still runs the Pods. DoNotSchedule turns every shortage into a failed rollout.
5. Rollback is a decision, not a retry
kubectl rollout undo restores the previous ReplicaSet template, which is right when the new image is broken and wrong when the cluster is full. Check the revision history first:
kubectl rollout history deployment/web
kubectl rollout undo deployment/web --to-revision=4
kubectl rollout status deployment/web --timeout=300sA rollback also needs the old Pods to become available, so if the blocker was a node shortage, undo fails the same way. Fix capacity first when the events show scheduling problems.
Common Compilation/Runtime Mistakes & Version Gotchas
Raising progressDeadlineSeconds to make CI green. A longer deadline changes the wait, not the outcome: Pods that crash for ten minutes crash for thirty as well. Use the deadline as a signal and fix the unavailable Pods.
Trusting kubectl apply as a deployment success. apply returns after the API server accepts the object. Only rollout status (or a readiness gate such as Argo CD's health check) confirms that new Pods serve traffic. Put kubectl rollout status --timeout=180s in the pipeline and let it fail the job.
Using latest tags with imagePullPolicy: IfNotPresent. Nodes keep the cached image and the rollout looks successful while running old code. Use immutable tags, or imagePullPolicy: Always with a digest. kubectl get pod -o jsonpath='{.status.containerStatuses[*].imageID}' proves which digest is running.
Version differences worth knowing. progressDeadlineSeconds cannot be less than minReadySeconds, and the API rejects the object with a validation error rather than a warning. In Kubernetes 1.22 and later the apps/v1 Deployment is the only served version, so old extensions/v1beta1 manifests fail at apply time with no matches for kind. Newer kubectl versions changed the output of rollout status to print the replica counts as they change, but the exit code contract stayed the same — scripts that parse the text should read the condition instead.
Inspecting the manifests themselves. A rolled-out Deployment often carries a YAML mistake that only appears at run time, such as a probe path under the wrong key or an imagePullSecrets block in the wrong scope; validate the file with the YAML validator after editing. When comparing a working manifest with a broken one, use Diff to see the exact line that changed, and confirm registry tags respond with the cURL helper before blaming the cluster.
Reference material: kubectl rollout status and Deployment failed rollout.
Official references
primary documentationThe Kubernetes documentation that defines the behaviour this guide explains.
Try matching browser tools
All toolsSmall utilities that fit Kubernetes work — they run entirely in this browser tab, so nothing you paste leaves your device.
Related Kubernetes guides
All Kubernetes guidesKubernetes 1.35: kubelet will not start on a cgroup v1 node
A 1.35 kubelet refuses a cgroup v1 host, and the removed pod-infra flag stops custom images. Check the kernel command line before the node pool.
Kubernetes: x509 certificate has expired or is not yet valid
kubeadm control plane certificates last one year. Renew them, restart the static pods, refresh kubeconfigs, and alert before the next expiry.
kubectl: metadata.resourceVersion: Invalid value: 0x0
The 0x0 error means an update carried no resourceVersion. Switch to apply or patch, or read the live object first, and keep versions out of Git.
no matches for kind in version: removed APIs and missing CRDs
kubectl cannot map the manifest to an endpoint. Either the API version was removed or the CRD is absent, and discovery tells you which.
More in Kubernetes
All Kubernetes guidesThe guides filed next to this one in Kubernetes, in library order.