Area: Deployment Issues
Sub-Area: Remote Executor Helm Upgrade
Applies to: Cloud
Issue
You upgrade a Remote Executor on Kubernetes with helm upgrade --wait, and the upgrade times out. Raising --timeout doesn't help. A slow image pull is the usual first guess, but the more common cause is a pod that starts and then exits again and again, so it never becomes ready.
You Might Be Asking
- Why does my Remote Executor Helm upgrade time out even after I raised the timeout?
- Is the timeout caused by a slow ECR image pull, or is something else wrong?
- Do I need to remove
dockerizefrom myvalues.yaml? - Which Helm chart version and image tag go with my DataHub Cloud version?
Error Messages
These lines come from the executor container log (kubectl logs):
Waiting for GMS at <url> (timeout 240s)...Timeout waiting for GMS at <url>
Cause
Helm --wait only finishes when the new executor pod is ready. Three things keep the pod from getting there:
- The node can't pull the image. The DataHub Cloud registry is private, so your IAM principal (EKS) or service account (GKE) needs access that DataHub sets up for you.
- The executor can't reach DataHub Cloud. At startup the executor image checks
<GMS URL>/healthevery 2 seconds for up to 240 seconds. If it gets no healthy response, it logsTimeout waiting for GMS at <url>and exits. Kubernetes restarts it, and the pod loops until Helm gives up. A longer Helm timeout only means more restarts. - Your deployment still calls
dockerize. Remote Executor images up to v1.0.x-cloud ran this GMS wait with thedockerizetool. Starting with v1.1.0-cloud, the images are built on Wolfi instead of Ubuntu and don't containdockerize. A shell script does the same wait withcurl. If a command override in yourvalues.yaml, or a custom image layer built on the executor image, still runsdockerize, the container fails to start on v1.1.0-cloud and later.
dockerize was never part of the Helm chart. It lived inside the image, so a chart upgrade alone doesn't add or remove it.
Solution
- Find out where the pod is stuck.
kubectl get pods -n <namespace>
kubectl describe pod <executor-pod> -n <namespace>
kubectl logs <executor-pod> -n <namespace> --previous
ImagePullBackOff or ErrImagePull means a registry access problem (go to step 2). CrashLoopBackOff means the container starts and exits (go to step 3). A pod stuck in an Init: state means an init container you added hasn't finished.
-
Fix registry access. Check that the image name is
datahub-executorand that the tag is one the release notes list for your DataHub Cloud version, for examplev2.4.4-cloud. Your own IAM permissions aren't enough on their own: DataHub has to grant your IAM principal (EKS) or cluster service account (GKE) access to the registry. Contact DataHub Support if the pull is denied. See Deploy on Kubernetes. -
Fix the GMS connection. If the log shows
Timeout waiting for GMS at <url>, compare that URL with your DataHub Cloud URL.global.datahub.gms.urlmust be your DataHub Cloud URL and must end in/gms, for examplehttps://<your-company>.acryl.io/gms. Then check that the pod can reach that host over HTTPS through your proxy, firewall and network policies. -
Remove
dockerizecalls. Search yourvalues.yamland any custom Dockerfile fordockerize. Remove any command that runs it inside the executor image. The image already waits for GMS on its own. -
Compare your values with the new chart. See what you set and what the new chart expects:
helm repo update acryl
helm get values <release-name> -n <namespace>
helm show values acryl/datahub-executor-worker --version <chart-version>
The chart is datahub-executor-worker from https://executor-helm.acryl.io. Chart versions (0.0.x) are separate from image tags (vX.Y.Z-cloud), so don't pass your DataHub Cloud version to --version. Each release note lists both. For example, v2.4.4 recommends chart 0.0.80 and image v2.4.4-cloud.
- Upgrade again.
helm upgrade <release-name> acryl/datahub-executor-worker \
--version <chart-version> \
--namespace <namespace> \
--values values.yaml \
--wait --timeout 10m
The docs use acryl-executor-worker as the release name. See Update Kubernetes Deployment.
Ephemeral storage settings don't affect this startup wait. They control disk space for ingestion runs (virtual environments and logs under /tmp/datahub/). To size them, see Remote Executor best practices.