Kubernetes Ingress (GCE) keeps returning 502 error

前端 未结 8 2017
一生所求
一生所求 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:05

    Log can read from Stackdriver Logging, in my case, it is backend_timeout error. After increase the default timeout (30s) via BackendConfig, it stop returning 502 even under load.

    More on: https://cloud.google.com/kubernetes-engine/docs/how-to/configure-backend-service#creating_a_backendconfig

提交回复
热议问题