Basically, we loved the docs and followed it to build a go web app.
We used this to start a local cluster.
We used this as a starting point to build a secure go web-app.
Then we use the hosted GKE guide to take the local DB to GCP.
Now, we want to take the go web-app to GCP and are looking for a good guide to do it.
I am new to Docker, Kubernetes, GCP and we basically used your awesome guides to get to where we are today. The last step is to simply take the local web-app to GCP/GKE. I created a docker container image using this guide. I changed the connection string in the app but can’t get it to work. Obviously I am missing a step or some detail.
Also, is it best practice to connect to a GKE cluster remotely? How can it be done so that web-app can securely connect to a remote cluster?
Edit: Another thing I tried today was to create a new cluster, deploy the docker image to the cluster and used example-app-secure.yaml to deploy a 3 node web server. However, I ran into this error: error connecting to the database: dial tcp: lookup cockroachdb-public on x.x.x.x: no such host