theshire/kubernetes/apps/kube-system/cilium/config/l2.yaml

27 lines
722 B
YAML
Raw Normal View History

2024-05-08 14:50:50 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/cilium.io/ciliuml2announcementpolicy_v2alpha1.json
apiVersion: cilium.io/v2alpha1
kind: CiliumL2AnnouncementPolicy
metadata:
name: l2-policy
spec:
loadBalancerIPs: true
# interfaces: ["^enp.*|^eth.*|^ens.*|^eno.*"]
2024-10-12 17:11:06 -05:00
interfaces: ["^eno+|^enp+|^bond+"]
# interfaces: ["^bond+"]
2024-05-08 14:50:50 -05:00
nodeSelector:
matchLabels:
kubernetes.io/os: linux
---
# yaml-language-server: $schema=https://ks.hsn.dev/cilium.io/ciliumloadbalancerippool_v2alpha1.json
apiVersion: cilium.io/v2alpha1
kind: CiliumLoadBalancerIPPool
metadata:
name: l2-pool
spec:
allowFirstLastIPs: "Yes"
blocks:
- # Controller VIP: 192.168.42.120
2024-05-08 15:11:54 -05:00
start: 10.1.1.30
stop: 10.1.1.49