Kubernetes Ingress (GCE) keeps returning 502 error

前端 未结 8 2028
一生所求
一生所求 2020-12-14 08:24

I am trying to setup an Ingress in GCE Kubernetes. But when I visit the IP address and path combination defined in the Ingress, I keep getting the following 502 error:

8条回答
  •  生来不讨喜
    2020-12-14 09:09

    I solved the problem by

    1. Remove the service from ingress definition
    2. Deploy ingress kubectl apply -f ingress.yaml
    3. Add the service to ingress definition
    4. Deploy ingress again

    Essentially, I followed Roy's advice and tried to turn it off and on again.

提交回复
热议问题