fix(cilium): update LB pool API from v2alpha1 to v2
This commit is contained in:
@@ -1,16 +1,5 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# Pool for ingress-nginx
|
||||||
# Cilium LB IPAM — IP Address Pools
|
apiVersion: cilium.io/v2
|
||||||
#
|
|
||||||
# Pool 1: ingress-nginx pool — 10.1.71.80 - 10.1.71.89
|
|
||||||
# Pool 2: cilium-gateway pool — 10.1.71.90 - 10.1.71.99
|
|
||||||
#
|
|
||||||
# Pools are separated so ingress-nginx and Gateway API services never
|
|
||||||
# compete for the same IPs. Each pool uses a serviceSelector to ensure
|
|
||||||
# IPs are only assigned to the right controller.
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Pool for ingress-nginx LoadBalancer service
|
|
||||||
apiVersion: cilium.io/v2alpha1
|
|
||||||
kind: CiliumLoadBalancerIPPool
|
kind: CiliumLoadBalancerIPPool
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-nginx-pool
|
name: ingress-nginx-pool
|
||||||
@@ -24,9 +13,8 @@ spec:
|
|||||||
app.kubernetes.io/name: ingress-nginx
|
app.kubernetes.io/name: ingress-nginx
|
||||||
|
|
||||||
---
|
---
|
||||||
# Pool for Cilium Gateway API — only assigned to Gateway-owned services
|
# Pool for Cilium Gateway API
|
||||||
# Cilium automatically labels Gateway services with io.cilium.gateway/owning-gateway
|
apiVersion: cilium.io/v2
|
||||||
apiVersion: cilium.io/v2alpha1
|
|
||||||
kind: CiliumLoadBalancerIPPool
|
kind: CiliumLoadBalancerIPPool
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium-gateway-pool
|
name: cilium-gateway-pool
|
||||||
@@ -41,7 +29,7 @@ spec:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
|
|
||||||
---
|
---
|
||||||
# L2 Announcement Policy — ARP on server VLAN for both pools
|
# L2 Announcement Policy
|
||||||
apiVersion: cilium.io/v2alpha1
|
apiVersion: cilium.io/v2alpha1
|
||||||
kind: CiliumL2AnnouncementPolicy
|
kind: CiliumL2AnnouncementPolicy
|
||||||
metadata:
|
metadata:
|
||||||
@@ -49,6 +37,5 @@ metadata:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
loadBalancerIPs: true
|
loadBalancerIPs: true
|
||||||
# All nodes participate — Cilium handles failover automatically
|
|
||||||
interfaces:
|
interfaces:
|
||||||
- ^eth[0-9]+
|
- ^eth[0-9]+
|
||||||
|
|||||||
Reference in New Issue
Block a user