You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**envoy-control.envoy.snapshot.retryPolicy.enabled** | Flag which enables default retries | true
187
188
**envoy-control.envoy.snapshot.retryPolicy.numberOfRetries** | Number of retries | 1
188
189
**envoy-control.envoy.snapshot.retryPolicy.hostSelectionRetryMaxAttempts** | The maximum number of times host selection will be reattempted before request being routed to last selected host | 3
189
190
**envoy-control.envoy.snapshot.retryPolicy.retryHostPredicate** | Specifies a collection of RetryHostPredicates that will be consulted when selecting a host for retries | a list with one entry "envoy.retry_host_predicates.previous_hosts"
Copy file name to clipboardExpand all lines: envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/SnapshotProperties.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -373,6 +373,7 @@ data class RateLimitProperties(
Copy file name to clipboardExpand all lines: envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/routes/EnvoyEgressRoutesFactory.kt
+52-55Lines changed: 52 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,11 @@ class EnvoyEgressRoutesFactory(
74
74
.setValue("%UPSTREAM_REMOTE_ADDRESS%").build()
75
75
)
76
76
77
+
privateval defaultRouteMatch =RouteMatch
78
+
.newBuilder()
79
+
.setPrefix("/")
80
+
.build()
81
+
77
82
/**
78
83
* @see TestResources.createRoute
79
84
*/
@@ -86,12 +91,7 @@ class EnvoyEgressRoutesFactory(
86
91
val virtualHosts = routes
87
92
.filter { it.routeDomains.isNotEmpty() }
88
93
.map { routeSpecification ->
89
-
addMultipleRoutes(
90
-
VirtualHost.newBuilder()
91
-
.setName(routeSpecification.clusterName)
92
-
.addAllDomains(routeSpecification.routeDomains),
93
-
routeSpecification
94
-
).build()
94
+
buildEgressRoute(routeSpecification)
95
95
}
96
96
97
97
var routeConfiguration =RouteConfiguration.newBuilder()
@@ -122,37 +122,55 @@ class EnvoyEgressRoutesFactory(
0 commit comments