getting 502 Bad Gateway on eks aws-alb-ingress

Solution 1:

You should be calling the service not deployment.

golang-service is svc name instead of deployment name

kubectl exec curl -i --tty curl golang-service:9000