k3s-cluster/kubernetes/common/apps/metallb/pool/files/metallb-static-ips.yaml

19 lines
349 B
YAML
Raw Permalink 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-10 04:57:48 +00:00
- ${METALLB_LB_RANGE}
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