The problem I’m having
So, I am trying to create a dbt documentation UI for all my teams in my organization.
So, what I have done is that I have created an image from python3.8 and added the packages of dbt-core and dbt-bigquery and I have copied all my project files on runtime.
Once this is done, I do the normal dbt docs generate
and dbt docs serve --port 8081
.
Now this is hosted on GKE (k8s) and this deployment is attached to a service with GCP Ingress
Once this all is in place, I get to use the UI for the first 2 minutes and then it fails with connection timed out.
I also tried port-forwarding to the pods, and I get the same scenario.
I had to literally remove the liveness probe so that it won’t put down the container again and again.
The context of why I’m trying to do this
What I am trying to do here is get all teams under one domain name and serve traffic to them based on their team’s name through routes of Ingress
But the problem is making that container stay alive
If anyone has tried something similar or is aware why this is happening, please let me know
KR,
Shelton Cardin