mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
![feisar-bot[bot]](/assets/img/avatar_default.png)
Co-authored-by: feisar-bot[bot] <98277827+feisar-bot[bot]@users.noreply.github.com> Co-authored-by: auricom <27022259+auricom@users.noreply.github.com>
32 lines
887 B
YAML
32 lines
887 B
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/cilium.io/ciliumbgppeeringpolicy_v2alpha1.json
|
|
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
|
|
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/cilium.io/ciliumloadbalancerippool_v2.json
|
|
apiVersion: cilium.io/v2
|
|
kind: CiliumLoadBalancerIPPool
|
|
metadata:
|
|
name: main-pool
|
|
spec:
|
|
blocks:
|
|
- cidr: ${CILIUM_BGP_SVC_RANGE}
|