Skip to content

Commit

Permalink
Update virtualservice HTTPRetry docs for the attempt field (#2919)
Browse files Browse the repository at this point in the history
* Update virtualservice HTTPRetry docs for the `attempt` field

* update  files with docs
  • Loading branch information
Smeb authored Aug 30, 2023
1 parent d292c26 commit 8b0251e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion networking/v1alpha3/virtual_service.pb.go

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

3 changes: 2 additions & 1 deletion networking/v1alpha3/virtual_service.pb.html

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

3 changes: 2 additions & 1 deletion networking/v1alpha3/virtual_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,8 @@ message HTTPRetry {
// between retries will be determined automatically (25ms+). When request
// `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute)
// or `per_try_timeout` is configured, the actual number of retries attempted also depends on
// the specified request `timeout` and `per_try_timeout` values.
// the specified request `timeout` and `per_try_timeout` values. MUST BE >= 0. If `0`, retries will be disabled.
// The maximum possible number of requests made will be 1 + `attempts`.
int32 attempts = 1 [(google.api.field_behavior) = REQUIRED];

// Timeout per attempt for a given request, including the initial call and any retries. Format: 1h/1m/1s/1ms. MUST BE >=1ms.
Expand Down
3 changes: 2 additions & 1 deletion networking/v1beta1/virtual_service.pb.go

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

3 changes: 2 additions & 1 deletion networking/v1beta1/virtual_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,8 @@ message HTTPRetry {
// between retries will be determined automatically (25ms+). When request
// `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute)
// or `per_try_timeout` is configured, the actual number of retries attempted also depends on
// the specified request `timeout` and `per_try_timeout` values.
// the specified request `timeout` and `per_try_timeout` values. MUST BE >= 0. If `0`, retries will be disabled.
// The maximum possible number of requests made will be 1 + `attempts`.
int32 attempts = 1 [(google.api.field_behavior) = REQUIRED];

// Timeout per attempt for a given request, including the initial call and any retries. Format: 1h/1m/1s/1ms. MUST BE >=1ms.
Expand Down

0 comments on commit 8b0251e

Please sign in to comment.