24 lines
636 B
YAML
24 lines
636 B
YAML
---
|
|
# 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.*"]
|
|
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
|
|
start: 10.45.0.1
|
|
stop: 10.45.0.30
|