mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
30 lines
665 B
YAML
30 lines
665 B
YAML
---
|
|
apiVersion: cilium.io/v2alpha1
|
|
kind: CiliumBGPPeeringPolicy
|
|
metadata:
|
|
name: bgp-loadbalancer-ip-main
|
|
spec:
|
|
nodeSelector:
|
|
matchLabels:
|
|
kubernetes.io/os: "linux"
|
|
virtualRouters:
|
|
- localASN: 64512
|
|
exportPodCIDR: false
|
|
serviceSelector:
|
|
matchExpressions:
|
|
- key: thisFakeSelector
|
|
operator: NotIn
|
|
values:
|
|
- will-match-and-announce-all-services
|
|
neighbors:
|
|
- peerAddress: ${LOCAL_LAN_OPNSENSE}/24
|
|
peerASN: 64512
|
|
---
|
|
apiVersion: cilium.io/v2alpha1
|
|
kind: CiliumLoadBalancerIPPool
|
|
metadata:
|
|
name: main-pool
|
|
spec:
|
|
blocks:
|
|
- cidr: ${CILIUM_BGP_SVC_RANGE}
|