|
|
@ -291,16 +291,33 @@ message RouteMatch { |
|
|
|
// is true. |
|
|
|
// is true. |
|
|
|
google.protobuf.BoolValue case_sensitive = 4; |
|
|
|
google.protobuf.BoolValue case_sensitive = 4; |
|
|
|
|
|
|
|
|
|
|
|
// Indicates that the route should additionally match on a runtime key. An |
|
|
|
oneof runtime_specifier { |
|
|
|
// integer between 0-100. Every time the route is considered for a match, a |
|
|
|
// Indicates that the route should additionally match on a runtime key. An integer between |
|
|
|
// random number between 0-99 is selected. If the number is <= the value found |
|
|
|
// 0-100. Every time the route is considered for a match, a random number between 0-99 is |
|
|
|
// in the key (checked first) or, if the key is not present, the default |
|
|
|
// selected. If the number is <= the value found in the key (checked first) or, if the key is |
|
|
|
// value, the route is a match (assuming everything also about the route |
|
|
|
// not present, the default value, the route is a match (assuming everything also about the |
|
|
|
// matches). A runtime route configuration can be used to roll out route changes in a |
|
|
|
// route matches). A runtime route configuration can be used to roll out route changes in a |
|
|
|
// gradual manner without full code/config deploys. Refer to the |
|
|
|
// gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting |
|
|
|
// :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs |
|
|
|
// <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional |
|
|
|
|
|
|
|
// documentation. |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// .. attention:: |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// **This field is deprecated**. Set the |
|
|
|
|
|
|
|
// :ref:`runtime_fraction<envoy_api_field_route.RouteMatch.runtime_fraction>` field instead. |
|
|
|
|
|
|
|
core.RuntimeUInt32 runtime = 5 [deprecated = true]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Indicates that the route should additionally match on a runtime key. Every time the route |
|
|
|
|
|
|
|
// is considered for a match, it must also fall under the percentage of matches indicated by |
|
|
|
|
|
|
|
// this field. For some fraction N/D, a random number in the range [0,D) is selected. If the |
|
|
|
|
|
|
|
// number is <= the value of the numberator N, or if the key is not present, the default |
|
|
|
|
|
|
|
// value, the router continues to evaluate the remaining match criteria. A runtime_fraction |
|
|
|
|
|
|
|
// route configuration can be used to roll out route changes in a gradual manner (with more |
|
|
|
|
|
|
|
// granularity than the deprecated runtime field) without full code/config deploys. Refer to |
|
|
|
|
|
|
|
// the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs |
|
|
|
// for additional documentation. |
|
|
|
// for additional documentation. |
|
|
|
core.RuntimeUInt32 runtime = 5; |
|
|
|
core.RuntimeFractionalPercent runtime_fraction = 8; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Specifies a set of headers that the route should match on. The router will |
|
|
|
// Specifies a set of headers that the route should match on. The router will |
|
|
|
// check the request’s headers against all the specified headers in the route |
|
|
|
// check the request’s headers against all the specified headers in the route |
|
|
|