nginx-gateway-fabric
nginx-gateway-fabric copied to clipboard
Return 503 when service has no ready endpoints
trafficstars
According to the spec:
When a HTTPBackendRef refers to a Service that has no ready endpoints, implementations SHOULD return a 503 for requests to that backend instead.
Currently, NGF returns a 502.
A/C:
- NGF should return a 503 when a service has no ready endpoints.