24 lines
720 B
YAML
24 lines
720 B
YAML
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/cilium.io/ciliuml2announcementpolicy_v2alpha1.json
|
|
apiVersion: "cilium.io/v2alpha1"
|
|
kind: CiliumL2AnnouncementPolicy
|
|
metadata:
|
|
name: policy
|
|
spec:
|
|
nodeSelector:
|
|
matchExpressions:
|
|
- key: node-role.kubernetes.io/control-plane
|
|
operator: DoesNotExist
|
|
interfaces: ["^enp.*"]
|
|
loadBalancerIPs: true
|
|
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/cilium.io/ciliumloadbalancerippool_v2alpha1.json
|
|
apiVersion: cilium.io/v2alpha1
|
|
kind: CiliumLoadBalancerIPPool
|
|
metadata:
|
|
name: main-pool
|
|
spec:
|
|
allowFirstLastIPs: "Yes"
|
|
blocks:
|
|
- # same subnet as nodes
|
|
start: 192.168.1.50
|
|
stop: 192.168.1.69 |