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
Copy file name to clipboardExpand all lines: api/v1alpha1/envoyproxy_types.go
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ type EnvoyProxy struct {
35
35
}
36
36
37
37
// EnvoyProxySpec defines the desired state of EnvoyProxy.
38
+
// +kubebuilder:validation:XValidation:message="mergeGateways and mergeBackends cannot both be enabled",rule="!(has(self.mergeGateways) && self.mergeGateways && has(self.mergeBackends))"
38
39
typeEnvoyProxySpecstruct {
39
40
// Provider defines the desired resource provider and provider-specific configuration.
40
41
// If unspecified, the "Kubernetes" resource provider is used with default configuration
@@ -89,9 +90,22 @@ type EnvoyProxySpec struct {
89
90
// This means that the port, protocol and hostname tuple must be unique for every listener.
90
91
// If a duplicate listener is detected, the newer listener (based on timestamp) will be rejected and its status will be updated with a "Accepted=False" condition.
Copy file name to clipboardExpand all lines: charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyproxies.yaml
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -778,12 +778,24 @@ spec:
778
778
- InsecureSyntax
779
779
- Disabled
780
780
type: string
781
+
mergeBackends:
782
+
description: |-
783
+
MergeBackends configures cluster deduplication: routes that reference the same backend
784
+
share a single Envoy cluster instead of Envoy Gateway generating one cluster per route
785
+
rule. This reduces xDS size, active health-check traffic, and stats cardinality, and
786
+
improves upstream connection pooling.
787
+
788
+
Disabled when unset; specifying this field at all (even without further configuration)
789
+
enables it. Mutually exclusive with MergeGateways.
790
+
type: object
781
791
mergeGateways:
782
792
description: |-
783
793
MergeGateways defines if Gateway resources should be merged onto the same Envoy Proxy Infrastructure.
784
794
Setting this field to true would merge all Gateway Listeners under the parent Gateway Class.
785
795
This means that the port, protocol and hostname tuple must be unique for every listener.
786
796
If a duplicate listener is detected, the newer listener (based on timestamp) will be rejected and its status will be updated with a "Accepted=False" condition.
Copy file name to clipboardExpand all lines: charts/gateway-helm/charts/crds/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -777,12 +777,24 @@ spec:
777
777
- InsecureSyntax
778
778
- Disabled
779
779
type: string
780
+
mergeBackends:
781
+
description: |-
782
+
MergeBackends configures cluster deduplication: routes that reference the same backend
783
+
share a single Envoy cluster instead of Envoy Gateway generating one cluster per route
784
+
rule. This reduces xDS size, active health-check traffic, and stats cardinality, and
785
+
improves upstream connection pooling.
786
+
787
+
Disabled when unset; specifying this field at all (even without further configuration)
788
+
enables it. Mutually exclusive with MergeGateways.
789
+
type: object
780
790
mergeGateways:
781
791
description: |-
782
792
MergeGateways defines if Gateway resources should be merged onto the same Envoy Proxy Infrastructure.
783
793
Setting this field to true would merge all Gateway Listeners under the parent Gateway Class.
784
794
This means that the port, protocol and hostname tuple must be unique for every listener.
785
795
If a duplicate listener is detected, the newer listener (based on timestamp) will be rejected and its status will be updated with a "Accepted=False" condition.
0 commit comments