k3s-cluster/cluster/core/networking/metallb/metallb-static-ips.yaml

19 lines
357 B
YAML
Raw Normal View History

2023-04-02 19:25:25 +00:00
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: static-ip-range
namespace: metallb-system
spec:
addresses:
2023-04-04 04:47:05 +00:00
- 192.168.87.10-192.168.87.28
2023-04-02 19:25:25 +00:00
autoAssign: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
2023-04-04 04:50:47 +00:00
name: static-l2advertisement
2023-04-02 19:25:25 +00:00
namespace: metallb-system
2023-04-04 04:47:05 +00:00
spec:
2023-04-04 04:50:47 +00:00
ipAddressPools:
2023-04-04 04:47:05 +00:00
- static-ip-range