From 88fe4db410d65e863a262fbd37f85b7314f186cd Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sun, 17 Dec 2023 22:48:06 +0800 Subject: [PATCH] fix(cilium): more flexible L2 enabling --- kube/deploy/core/_networking/cilium/loadbalancer/L2.yaml | 1 + kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kube/deploy/core/_networking/cilium/loadbalancer/L2.yaml b/kube/deploy/core/_networking/cilium/loadbalancer/L2.yaml index f81287b1..f53d0e0e 100644 --- a/kube/deploy/core/_networking/cilium/loadbalancer/L2.yaml +++ b/kube/deploy/core/_networking/cilium/loadbalancer/L2.yaml @@ -5,6 +5,7 @@ metadata: name: "l2" spec: externalIPs: true + loadBalancerIPs: true # as a backup to BGP nodeSelector: matchLabels: kubernetes.io/os: "linux" diff --git a/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml b/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml index 923f70d3..8a6392f9 100644 --- a/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml +++ b/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml @@ -8,8 +8,6 @@ spec: - cidr: "${IP_LB_CIDR}" serviceSelector: matchExpressions: - - key: "io.cilium/l2" - operator: DoesNotExist - key: "exposeSvc" operator: DoesNotExist ---