Skip to content

Commit

Permalink
add retry_remote_localities for retry
Browse files Browse the repository at this point in the history
  • Loading branch information
ckcd committed Jan 11, 2020
1 parent 80fb3f4 commit 62ceae0
Show file tree
Hide file tree
Showing 7 changed files with 238 additions and 135 deletions.
5 changes: 5 additions & 0 deletions kubernetes/customresourcedefinitions.gen.yaml

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

5 changes: 5 additions & 0 deletions networking/v1alpha3/virtual_service.gen.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@
"description": "Specifies the conditions under which retry takes place. One or more policies can be specified using a ‘,’ delimited list. See the [retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on) and [gRPC retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on) for more details.",
"type": "string",
"format": "string"
},
"retryRemoteLocalities": {
"description": "Flag to specify whether the retries should retry to other localities. See the [retry plugin configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#retry-plugin-configuration) for more details.",
"type": "boolean",
"nullable": true
}
}
},
Expand Down
304 changes: 184 additions & 120 deletions networking/v1alpha3/virtual_service.pb.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions networking/v1alpha3/virtual_service.pb.html

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

4 changes: 4 additions & 0 deletions networking/v1alpha3/virtual_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,10 @@ message HTTPRetry {
// See the [retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on)
// and [gRPC retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on) for more details.
string retry_on = 3;

// Flag to specify whether the retries should retry to other localities.
// See the [retry plugin configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#retry-plugin-configuration) for more details.
google.protobuf.BoolValue retry_remote_localities = 4;
}

// Describes the Cross-Origin Resource Sharing (CORS) policy, for a given
Expand Down
5 changes: 5 additions & 0 deletions proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40812,6 +40812,11 @@
"id": 3,
"name": "retry_on",
"type": "string"
},
{
"id": 4,
"name": "retry_remote_localities",
"type": "google.protobuf.BoolValue"
}
]
},
Expand Down
Loading

0 comments on commit 62ceae0

Please sign in to comment.