Summary
User is facing issues with deploying Airbyte and connecting to an external DB on GCP, specifically about the first deployment using abctl while needing a dedicated CloudSQLProxy pod. The connection attempts to the database are failing, leading to timeout errors, and there is a concern about the dependency between the CloudSQLProxy pod and Airbyte’s deployment.
Question
hello
to properly use external DB
on GCP, we need a dedicated pod for the CloudSQLProxy
how could we manage the “first” deployment of Airbyte using abctl
?
abctl local install --values=values.yaml --secret=secrets.yaml --chart-version=1.1.1
because we have the below error message:
ERROR airbyte-bootloader: org.jooq.exception.DataAccessException: Error getting connection from data source HikariDataSource (HikariPool-1)
ERROR airbyte-bootloader: Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30002ms (total=0, active=0, idle=0, waiting=0)
ERROR airbyte-bootloader: Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
ERROR airbyte-bootloader: Caused by: java.net.UnknownHostException: cloud-sql-proxy-service```
As the `CloudSQLProxy` pod needs to be deployed using the `airbyte` namespace and `kubeconfig` file, created by the `abctl local install`...
```kubectl apply -f cloud-sql-proxy.yaml -n airbyte-abctl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig```
...but Airbyte deployments need to reach the external DB via the `CloudSQLProxy` pod which must exist :thinking_face:
so we face the chicken or the egg problem :face_with_head_bandage:
Thanks a lot ! :pray:
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1732884788599739) if you want
to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
['cloudsqlproxy', 'gcp', 'abctl', 'deployment', 'error', 'database-connection']
</sub>