Skip to content

Commit 9e4b659

Browse files
committed
fix(cilium): use dsr load-balancer mode
This should maybe fix issues with pinging VIPs https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/#dsr-mode Signed-off-by: Vegard Hagen <[email protected]>
1 parent 044deb3 commit 9e4b659

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

k8s/infra/network/cilium/bgp-advertise-lb-services.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ spec:
1010
service:
1111
addresses:
1212
- LoadBalancerIP
13+
# - ExternalIP
1314
selector:
1415
matchLabels:
1516
bgp.cilium.io/advertise-service: default

k8s/infra/network/cilium/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ externalIPs:
7171
loadBalancer:
7272
# https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/#maglev-consistent-hashing
7373
algorithm: maglev
74+
# https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/#dsr-mode
75+
mode: dsr
76+
# l7:
77+
# backend: envoy
78+
79+
# The default "vxlan" is incompatible with loadBalancer.mode: "dsr".
80+
routingMode: native
81+
tunnelProtocol: ""
7482

7583
gatewayAPI:
7684
enabled: true

0 commit comments

Comments
 (0)