From 8e832c16ebee0a58ba008c168d760d28d806249f Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Mon, 1 Jan 2024 01:16:15 +0800 Subject: [PATCH] feat(cilium): add LB IP pool --- .../_networking/cilium/loadbalancer/LB-IPs.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml b/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml index 8a6392f9..c7f3102e 100644 --- a/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml +++ b/kube/deploy/core/_networking/cilium/loadbalancer/LB-IPs.yaml @@ -10,6 +10,19 @@ spec: matchExpressions: - key: "exposeSvc" operator: DoesNotExist + - key: "cilium.io/ingress" + operator: DoesNotExist +--- +apiVersion: cilium.io/v2alpha1 +kind: CiliumLoadBalancerIPPool +metadata: + name: cilium-ingress +spec: + cidrs: + - cidr: "${IP_LB_INGRESS_CIDR}" + serviceSelector: + matchLabels: + cilium.io/ingress: "true" --- apiVersion: cilium.io/v2alpha1 kind: CiliumLoadBalancerIPPool