Hi All. We're deploying onto AWS using Terraform/k...
# getting-started
b
Hi All. We're deploying onto AWS using Terraform/kubectl & helm. I'm getting an error with the 'datahub-datahub-upgrade-job' when trying to install datahub. We are providing our values files when running the install command. The error is below: client.go607 [debug] datahub-datahub-upgrade-job: Jobs active: 1, jobs failed: 0, jobs succeeded: 0 Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition helm.go84 [debug] failed post-install: timed out waiting for the condition INSTALLATION FAILED main.newInstallCmd.func2 helm.sh/helm/v3/cmd/helm/install.go:127 github.com/spf13/cobra.(*Command).execute github.com/spf13/cobra@v1.4.0/command.go:856 github.com/spf13/cobra.(*Command).ExecuteC github.com/spf13/cobra@v1.4.0/command.go:974 github.com/spf13/cobra.(*Command).Execute github.com/spf13/cobra@v1.4.0/command.go:902 main.main helm.sh/helm/v3/cmd/helm/helm.go:83 runtime.main runtime/proc.go:255 runtime.goexit runtime/asm_amd64.s:1581 How do i find out what the issue is? We also want to use AWS services rather than stand up the dependencies on within the K8s stack. We have a values file which we reference when installing pre-requisites - i assume we set the below as false?: elasticsearch: enabled: false # set this to false, if you want to provide your own ES instance. replicas: 3 Do we need to set Kafka and SQL to false also if we want to provide our own instances for those services? When running the datahub install command, we have another values file which we reference, these have the below entries: elasticsearchSetupJob: enabled: false kafkaSetupJob: enabled: false mysqlSetupJob: enabled: false And then under 'global' we have the details for each service to use? I cant work out if this is correct from the documentation site?
b
Hi @best-fireman-42901! Sorry to hear you're hitting some issues with this. In regards to the first issue (datahub-upgrade is blocking your helm deploy), I'll enlist my colleague @orange-night-91387 to provide some advice. Do you have any additional error logs you can provide? To answer the question about setting the services enabled to false -- yes you're correct that for each service (Kafka, Elastic, MySQL) you'll host yourself, you can set to false. The "setup job" pods are used to initialize each managed service, and can generally be left on so long as your connection to each service is configured! Under 'global' is where you'll set up your connection details that's absolutely correct! Hope this helps, John
b
@big-carpet-38439/ @orange-night-91387 - you cant obtain the logs when the pod state is in 'ERROR', what do you suggest?
o
You should be able to describe the pod and see what caused it to go into error state