helm-wait-timeout (Pro)
helm 3:
Error: context deadline exceededhelm 4:
Error: resource Deployment/pull/r-c not ready. status: InProgress, message: Available: 0/1
context deadline exceededhelm 3 prints only the timeout. helm 4 first names a resource that was not ready, here the Deployment r-c in the namespace pull. dojo-deploy reports either in the install or upgrade phase with Hint: helm-wait-timeout.
Cause
The pods or the initializer Job were not ready in the time helm waits. dojo-deploy runs helm with --wait --wait-for-jobs, so helm waits for every Deployment and for the initializer Job.
Confirm
When helm fails, dojo-deploy prints the release’s pods. List them again and read the events of each pod that is not ready:
kubectl get pods -n <namespace>
kubectl describe pod <pod> -n <namespace>
kubectl get events -n <namespace> --sort-by=.lastTimestampRead the initializer’s output in this run’s log too: a first install’s migrations can take longer than the wait on a small cluster. If a pod shows ImagePullBackOff or ErrImagePull, see image-pull.
Recover
Fix what the events name (a pod that cannot be scheduled, a failing readiness probe, a missing Secret), or wait for a slow initializer to finish. Once the pods are ready, run the command on the To resume: line.