Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: opt in control plane zone aware load balancing #5573

Merged
merged 1 commit into from
Mar 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/gateway-helm/README.md
Original file line number Diff line number Diff line change
@@ -111,4 +111,5 @@ To uninstall the chart:
| kubernetesClusterDomain | string | `"cluster.local"` | |
| podDisruptionBudget.minAvailable | int | `0` | |
| service.annotations | object | `{}` | |
| service.trafficDistribution | string | `""` | |

3 changes: 3 additions & 0 deletions charts/gateway-helm/templates/envoy-gateway-service.yaml
Original file line number Diff line number Diff line change
@@ -16,3 +16,6 @@ spec:
{{- include "eg.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.deployment.ports | toYaml | nindent 2 -}}
{{- with .Values.service.trafficDistribution }}
trafficDistribution: {{ . }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/gateway-helm/values.tmpl.yaml
Original file line number Diff line number Diff line change
@@ -72,6 +72,8 @@ deployment:
nodeSelector: {}

service:
# If set to PreferClose, the Envoy fleet will prioritize connecting to the Envoy Gateway pods that are topologically closest to them.
trafficDistribution: ""
annotations: {}

hpa:
1 change: 1 addition & 0 deletions release-notes/current.yaml
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ new features: |
Added support for BackendTLSPolicy to target ServiceImport
Added support for per-host circuit breaker thresholds
Added support for egctl Websocket in addation to SPDY
Added a configuration option in the Helm chart to set the TrafficDistribution field in the Envoy Gateway Service
bug fixes: |
Fix traffic splitting when filters are attached to the backendRef.
1 change: 1 addition & 0 deletions site/content/en/latest/install/gateway-helm-api.md
Original file line number Diff line number Diff line change
@@ -75,4 +75,5 @@ The Helm chart for Envoy Gateway
| kubernetesClusterDomain | string | `"cluster.local"` | |
| podDisruptionBudget.minAvailable | int | `0` | |
| service.annotations | object | `{}` | |
| service.trafficDistribution | string | `""` | |

Original file line number Diff line number Diff line change
@@ -4,5 +4,6 @@ global:
image: "docker.io/envoyproxy/gateway-dev:latest"
pullPolicy: Always
service:
trafficDistribution: PreferClose
annotations:
this: that
Original file line number Diff line number Diff line change
@@ -355,6 +355,7 @@ spec:
- name: metrics
port: 19001
targetPort: 19001
trafficDistribution: PreferClose
---
# Source: gateway-helm/templates/envoy-gateway-deployment.yaml
apiVersion: apps/v1