`kubectl rollout status` timed out: `error: deployment "shack-api" exceeded its progress deadline`
IntermediateTroubleshootingDeployments, Environments & Releases
Answer
Likely causes → New pods failing readiness (bad config, missing secret, crash), image pull errors (wrong digest or no ECR pull permission on nodes), or insufficient capacity.
Diagnose →
kubectl -n shack-prod get pods -l app=shack-api
kubectl -n shack-prod describe pod <new-pod> | sed -n '/Events/,$p'
kubectl -n shack-prod logs <new-pod> --previous
Fix → Fix the cause; the workflow should run kubectl rollout undo deployment/shack-api automatically on failure.
Prevent → Dump pod events and logs to the job log on failure (if: failure() step) so on-call does not need cluster access.
More on Deployments, Environments & Releases
`Branch "feature/login" is not allowed to deploy to prod due to environment protection rules.`BeginnerDeploy job shows `Waiting for review: prod needs approval to start deploying changes` but no reviewer got notified.Beginner`Canceling since a higher priority waiting request for 'deploy-prod' exists`Intermediate`ErrImagePull ... failed to resolve reference "111122223333.dkr.ecr.ap-south-1.amazonaws.com/shack-api@sha256:...": not found` after a deploy.AdvancedRelease workflow `gh release create` fails with `HTTP 403: Resource not accessible by integration`Beginner`gh release create v1.4.0 --verify-tag` fails with `tag v1.4.0 doesn't exist in the repo`.Beginner