Kubernetes ProgressDeadlineExceeded: Find the ReplicaSet That Stopped Advancing

Treat ProgressDeadlineExceeded as a status on the Deployment. Inspect the newest relevant ReplicaSet and the pods it owns before changing the deadline. The Deployment controller reports the stalled progress, and the pod events usually show the next diagnostic step.

Capture the Deployment and its current revision

In the authorized namespace, read the deployment description and rollout history. The sample names below are synthetic. Replace them with the workload and namespace you operate. Keep the revision number and observed time if another release is in progress.

kubectl -n demo describe deployment checkout
kubectl -n demo rollout history deployment/checkout
kubectl -n demo get rs

Read one new pod and one old pod separately

Use the Deployment's NewReplicaSet line to select the new ReplicaSet. Describe it, then describe a pod owned by that set. Inspect scheduling events, startup state and readiness separately. A synthetic rollout with two existing available replicas and one new pod with a failing readiness probe may still serve traffic through the previous revision. Widening the deadline only delays the signal in that example. The new pod's readiness reason identifies the condition to investigate.

Distinguish the client wait from controller progress

kubectl rollout status deployment/checkout --timeout=60s limits the client wait. It does not reset the Deployment's progressDeadlineSeconds or repair the rollout. After correcting the confirmed problem through the normal deployment process, rerun rollout status and verify the intended revision appears in available replicas. Use --revision when the release number must stay fixed during the check. If it stalls again, attach the affected revision, ReplicaSet and event reason to the incident.

Sources

댓글

이 블로그의 인기 게시물

소니 A6000 Wi-Fi 전송 (컴퓨터로 보내기)

C#, cmd 명령어 창 안보이게 실행하기

SVN 서버 설치 및 웹 접속 설정-Ubuntu 14.04