Skip to content

Return 503 when service has no ready endpoints #2430

@kate-osborn

Description

@kate-osborn

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrefinedRequirements are refined and the issue is ready to be implemented.size/extra-smallEstimated to be completed within a day

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions