Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api/v1alpha1/retry_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ type Retry struct {
// +kubebuilder:default=2
NumRetries *int32 `json:"numRetries,omitempty"`

// NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
// that should be sent to the same priority before switching to a different one.
// If not specified or set to 0, all requests are sent to the highest priority that is healthy.
//
// +optional
NumAttemptsPerPriority *int32 `json:"numAttemptsPerPriority,omitempty"`

// RetryOn specifies the retry trigger condition.
//
// If not specified, the default is to retry on connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes(503).
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to be attempted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11341,6 +11341,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number
Expand Down Expand Up @@ -12368,6 +12375,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number
Expand Down Expand Up @@ -13463,6 +13477,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of
Expand Down Expand Up @@ -14494,6 +14515,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1302,6 +1302,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to
Expand Down Expand Up @@ -2227,6 +2234,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to
Expand Down Expand Up @@ -3358,6 +3372,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries
Expand Down Expand Up @@ -4464,6 +4485,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to be attempted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11340,6 +11340,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number
Expand Down Expand Up @@ -12367,6 +12374,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number
Expand Down Expand Up @@ -13462,6 +13476,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of
Expand Down Expand Up @@ -14493,6 +14514,13 @@ spec:
Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
If not set, retry will be disabled.
properties:
numAttemptsPerPriority:
description: |-
NumAttemptsPerPriority defines the number of requests (initial attempt + retries)
that should be sent to the same priority before switching to a different one.
If not specified or set to 0, all requests are sent to the highest priority that is healthy.
format: int32
type: integer
numRetries:
default: 2
description: NumRetries is the number of retries
Expand Down
Loading
Loading