k3s-cluster/cluster/core/networking/metallb/metallb-static-ips.yaml
2023-04-12 21:33:39 -04:00

18 lines
349 B
YAML

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: static-ip-range
namespace: metallb-system
spec:
addresses:
- ${METALLB_LB_RANGE}
autoAssign: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: static-l2advertisement
namespace: metallb-system
spec:
ipAddressPools:
- static-ip-range