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: docs/en/configure/networking/how_to/tasks_for_envoy_gateway.mdx
+42-2Lines changed: 42 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,46 @@ spec:
151
151
NodePort can only be within a specific range, typically `30000-32767`. If you want the Gateway listener port and NodePort to be consistent, your listener port must also be within the NodePort range.
152
152
:::
153
153
154
+
### How To Specify a VIP When Using MetalLB \{#specify_vip_metallb}
155
+
156
+
When using MetalLB as the LoadBalancer provider, you can specify a static VIP for the Gateway service through service annotations.
157
+
158
+
```yaml
159
+
apiVersion: gateway.envoyproxy.io/v1alpha1
160
+
kind: EnvoyProxy
161
+
metadata:
162
+
name: demo
163
+
namespace: demo
164
+
spec:
165
+
provider:
166
+
type: Kubernetes
167
+
kubernetes:
168
+
envoyService:
169
+
type: LoadBalancer
170
+
annotations: # [!code callout]
171
+
metallb.universe.tf/address-pool: production # [!code callout]
0 commit comments