nginx-gateway-fabric icon indicating copy to clipboard operation
nginx-gateway-fabric copied to clipboard

Return 503 when service has no ready endpoints

Open kate-osborn opened this issue 1 year ago • 0 comments
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.

kate-osborn avatar Aug 20 '24 18:08 kate-osborn