Skip to content

Commit 3b812ed

Browse files
committed
fix(cilium): turn on l2-announcements (ARP) again to troubleshoot connection problems
I'm experiencing issues reaching services directly exposed to the internet At first only some carriers didn't load the pages, but it appears to be getting worse somehow Signed-off-by: Vegard Hagen <[email protected]>
1 parent 329981e commit 3b812ed

File tree

5 files changed

+31
-0
lines changed

5 files changed

+31
-0
lines changed

k8s/infra/network/cilium/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ resources:
99
- bgp-cluster-config.yaml
1010
- dashboards/cilium.yaml
1111
- dashboards/cilium-operator.yaml
12+
- l2-announce.yaml
13+
- l2-ip-pool.yaml
1214

1315
helmCharts:
1416
- name: cilium
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: cilium.io/v2alpha1
2+
kind: CiliumL2AnnouncementPolicy
3+
metadata:
4+
name: default-l2-announcement-policy
5+
namespace: kube-system
6+
spec:
7+
externalIPs: true
8+
loadBalancerIPs: true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: cilium.io/v2
2+
kind: CiliumLoadBalancerIPPool
3+
metadata:
4+
name: first-pool
5+
spec:
6+
blocks:
7+
- start: 192.168.1.220
8+
stop: 192.168.1.255
9+
serviceSelector:
10+
matchLabels:
11+
l2.cilium.io/ip-pool: default

k8s/infra/network/cilium/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ resources:
5858
#debug:
5959
# enabled: true
6060

61+
k8sClientRateLimit:
62+
qps: 20
63+
burst: 100
64+
65+
l2announcements:
66+
enabled: true
67+
6168
# https://docs.cilium.io/en/latest/network/bgp-control-plane/bgp-control-plane-v2/
6269
bgpControlPlane:
6370
enabled: true

k8s/infra/network/gateway/gw-external.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ spec:
99
labels:
1010
bgp.cilium.io/advertise-service: default
1111
bgp.cilium.io/ip-pool: default
12+
l2.cilium.io/ip-pool: default
1213
addresses:
1314
- type: IPAddress
1415
value: 172.20.10.110
16+
- type: IPAddress
17+
value: 192.168.1.222
1518
listeners:
1619
- protocol: HTTPS
1720
port: 443

0 commit comments

Comments
 (0)