Skip to content

Commit b80bb50

Browse files
committed
split out Other Considerations section, update retry budget future-proofing question
1 parent f5533ad commit b80bb50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

geps/gep-1731/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,11 @@ Implementing a `requestRetryPolicy` [HTTPRouteFilter](https://gateway-api.sigs.k
418418

419419
Adding a new field to HTTPRouteRule instead is proposed for parity with the similar and intersecting configuration of [HTTPRouteTimeouts](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteTimeouts).
420420

421+
## Other considerations
422+
421423
### What accommodations are needed for future retry budget support?
422424

423-
Should the `retry` stanza follow the Kubernetes "tagged union" pattern with something like a `mode: "count"` to allow future design space for `mode: "budget"` with distinct sibling fields?
425+
Changing the retry stanza to a Kubernetes "tagged union" pattern with something like `mode: "budget"` to support mutually-exclusive distinct sibling fields is possible as a non-breaking change if omitting the `mode` field defaults to the currently proposed behavior (which could retroactively become something like `mode: count`).
424426

425427
### Should whether to retry on connection errors be configurable?
426428

0 commit comments

Comments
 (0)