k3s-cluster/cluster/apps/metallb/metallb-static-ips.yaml

16 lines
294 B
YAML

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: static-ip-range
namespace: metallb-system
spec:
addresses:
- 192.168.87.10-192.168.87.28
autoAssign: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: default
namespace: metallb-system