Troubleshooting 'Error: UPGRADE FAILED: pre-upgrade hooks failed: timed out waiting for the condition' during Datahub on-perm Kubernetes deployment

Original Slack Thread

Hi! All We are trying to test Datahub on-perm Kube. We have the prerequisites running, we encounter issue when we are trying the helm install datahub with an error “Error: UPGRADE FAILED: pre-upgrade hooks failed: timed out waiting for the condition”. The elasticjob-setup-job has this logs and the kafka has some warning but other than that, we can’t find any issue on what cause the waiting condition hook. We run the helm install using all default values

You can try increasing the timeout, the default is 5m and perhaps this is not enough for your setup:

helm install ... --timeout 10m0s

It doesn’t look like anything was erroring from what you’ve posted, just may require additional time.

will try the timeout setting… thanks

the timeout solve the issue… thanks for the support