Skip to content

Commit 2b707ee

Browse files
authored
fix: numAttemptsPerPriority in provider-fallback.md (#1030)
**Description** Fix numPerAttemptPriority in the example config in provider-fallback.md **Related Issues/PRs (if applicable)** #881 **Special notes for reviewers (if applicable)** After fix the position of `numAttemptsPerPriority` still get error `Error from server (BadRequest): error when creating "STDIN": BackendTrafficPolicy in version "v1alpha1" cannot be handled as a BackendTrafficPolicy: strict decoding error: unknown field "spec.retry.numAttemptsPerPriority` Removed numAttemptsPerPriority works fine. --------- Signed-off-by: Xiaolin Lin <[email protected]>
1 parent 995f677 commit 2b707ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
41.7 KB
Binary file not shown.

site/docs/capabilities/traffic/provider-fallback.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ spec:
9191
kind: HTTPRoute
9292
name: provider-fallback # HTTPRoute is created with the same name as AIGatewayRoute
9393
retry:
94+
# This ensures that only one attempt is made per priority.
95+
# For example, if the primary backend fails, it will not retry on the same backend.
96+
numAttemptsPerPriority: 1
9497
numRetries: 5
9598
perRetry:
9699
backOff:
97100
baseInterval: 100ms
98101
maxInterval: 10s
99102
timeout: 30s
100103
retryOn:
101-
# This ensures that only one attempt is made per priority.
102-
# For example, if the primary backend fails, it will not retry on the same backend.
103-
numAttemptsPerPriority: 1
104104
httpStatusCodes:
105105
- 500
106106
triggers:

0 commit comments

Comments
 (0)