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
// BackendClusterSettings contains CDS-only fields that configure the upstream Envoy Cluster.
639
+
// BackendSettings contains CDS-only fields that configure the upstream Envoy Cluster.
640
640
// +kubebuilder:validation:XValidation:rule="!((has(self.connection) && has(self.connection.preconnect) && has(self.connection.preconnect.predictivePercent)) && !(has(self.loadBalancer) && has(self.loadBalancer.type) && self.loadBalancer.type in ['Random', 'RoundRobin']))",message="predictivePercent in preconnect policy only works with RoundRobin or Random load balancers"
641
-
typeBackendClusterSettingsstruct {
641
+
typeBackendSettingsstruct {
642
642
// LoadBalancer policy to apply when routing traffic from the gateway to
643
643
// the backend endpoints. Defaults to `LeastRequest`.
644
644
// +optional
@@ -687,10 +687,10 @@ type BackendClusterSettings struct {
687
687
}
688
688
689
689
// ClusterSettings provides the various knobs that can be set to control how traffic to a given
690
-
// backend will be configured. It embeds BackendClusterSettings (CDS-only fields) and adds
690
+
// backend will be configured. It embeds BackendSettings (CDS-only fields) and adds
691
691
// route-level fields like Retry.
692
692
typeClusterSettingsstruct {
693
-
BackendClusterSettings`json:",inline"`
693
+
BackendSettings`json:",inline"`
694
694
695
695
// Retry provides more advanced usage, allowing users to customize the number of retries, retry fallback strategy, and retry triggering conditions.
Copy file name to clipboardExpand all lines: site/content/en/latest/api/extension_types.md
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -370,29 +370,6 @@ _Appears in:_
370
370
|`backendSettings`|_[ClusterSettings](#clustersettings)_| false || BackendSettings holds configuration for managing the connection<br />to the backend. |
371
371
372
372
373
-
#### BackendClusterSettings
374
-
375
-
376
-
377
-
BackendClusterSettings contains CDS-only fields that configure the upstream Envoy Cluster.
| Field | Type | Required | Default | Description |
384
-
| --- | --- | --- | --- | --- |
385
-
|`loadBalancer`|_[LoadBalancer](#loadbalancer)_| false || LoadBalancer policy to apply when routing traffic from the gateway to<br />the backend endpoints. Defaults to `LeastRequest`. |
386
-
|`proxyProtocol`|_[ProxyProtocol](#proxyprotocol)_| false || ProxyProtocol enables the Proxy Protocol when communicating with the backend. |
387
-
|`tcpKeepalive`|_[TCPKeepalive](#tcpkeepalive)_| false || TcpKeepalive settings associated with the upstream client connection.<br />Disabled by default. |
388
-
|`healthCheck`|_[HealthCheck](#healthcheck)_| false || HealthCheck allows gateway to perform active health checking on backends. |
389
-
|`circuitBreaker`|_[CircuitBreaker](#circuitbreaker)_| false || Circuit Breaker settings for the upstream connections and requests.<br />If not set, circuit breakers will be enabled with the default thresholds |
390
-
|`timeout`|_[Timeout](#timeout)_| false || Timeout settings for the backend connections. |
391
-
|`connection`|_[BackendConnection](#backendconnection)_| false || Connection includes backend connection settings. |
392
-
|`dns`|_[DNS](#dns)_| false || DNS includes dns resolution settings. |
|`fallback`|_boolean_| false || Fallback indicates whether the backend is designated as a fallback.<br />Multiple fallback backends can be configured.<br />It is highly recommended to configure active or passive health checks to ensure that failover can be detected<br />when the active backends become unhealthy and to automatically readjust once the primary backends are healthy again.<br />The overprovisioning factor is set to 1.4, meaning the fallback backends will only start receiving traffic when<br />the health of the active backends falls below 72%. |
478
455
479
456
457
+
#### BackendSettings
458
+
459
+
460
+
461
+
BackendSettings contains CDS-only fields that configure the upstream Envoy Cluster.
| Field | Type | Required | Default | Description |
468
+
| --- | --- | --- | --- | --- |
469
+
|`loadBalancer`|_[LoadBalancer](#loadbalancer)_| false || LoadBalancer policy to apply when routing traffic from the gateway to<br />the backend endpoints. Defaults to `LeastRequest`. |
470
+
|`proxyProtocol`|_[ProxyProtocol](#proxyprotocol)_| false || ProxyProtocol enables the Proxy Protocol when communicating with the backend. |
471
+
|`tcpKeepalive`|_[TCPKeepalive](#tcpkeepalive)_| false || TcpKeepalive settings associated with the upstream client connection.<br />Disabled by default. |
472
+
|`healthCheck`|_[HealthCheck](#healthcheck)_| false || HealthCheck allows gateway to perform active health checking on backends. |
473
+
|`circuitBreaker`|_[CircuitBreaker](#circuitbreaker)_| false || Circuit Breaker settings for the upstream connections and requests.<br />If not set, circuit breakers will be enabled with the default thresholds |
474
+
|`timeout`|_[Timeout](#timeout)_| false || Timeout settings for the backend connections. |
475
+
|`connection`|_[BackendConnection](#backendconnection)_| false || Connection includes backend connection settings. |
476
+
|`dns`|_[DNS](#dns)_| false || DNS includes dns resolution settings. |
0 commit comments