Hi team,
I'm getting crazy here in what I could be missing, I'm following this tutorial https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app as a reference to deploy a Golang app on GKE, and I've not been able to reach the app on port 80 from the EXTERNAL-IP of my LoadBalancer. When I run a port-forward (kubectl port-forward svc/my-application-svc 3000:80) I'm able to open my application on localhost:3000 on my workstation, but I'd to reach the app on port 80 on my browser. When I try to telnet that EXTERNAL-IP I got connection refused. I do believe it's a firewall thing, but I don't know how to allow traffic on this LB since it was created by exposing a deployment on GKE. I'm lost and IDK where to look at it anymore. If someone could give some lights/thoughts I'll appreciate a lot.
Thank you!
Be aware that this forum is intended to answer general questions about GCP products, a question like this has better chances to be answered correctly in one of the StackExchange websites.
That being said, a good troubleshooting starting point would be to take a look at the output of the commands:
kubectl describe pod <name-of-one-of-your-pods>
kubectl describe deployment <name-of-your-deployment>
kubectl describe service <name-of-your-service>
When asking in any of the StackExchange websites, it is recommended to include this troubleshooting information so the issue can be replicated.
One last comment: I do not think this is a firewall issue since GKE automatically creates the necessary firewall rules when exposing the app; unless the account used to expose the deployment does not have enough permissions to create them.