23 lines
499 B
YAML
23 lines
499 B
YAML
---
|
|
# https://docs.cilium.io/en/latest/network/l2-announcements
|
|
apiVersion: cilium.io/v2alpha1
|
|
kind: CiliumL2AnnouncementPolicy
|
|
metadata:
|
|
name: policy
|
|
spec:
|
|
loadBalancerIPs: true
|
|
# NOTE: This might need to be set if you have more than one active NIC on your nodes
|
|
# interfaces:
|
|
# - ^eno[0-9]+
|
|
nodeSelector:
|
|
matchLabels:
|
|
kubernetes.io/os: linux
|
|
---
|
|
apiVersion: cilium.io/v2alpha1
|
|
kind: CiliumLoadBalancerIPPool
|
|
metadata:
|
|
name: pool
|
|
spec:
|
|
cidrs:
|
|
- cidr: "${NODE_CIDR}"
|