20 lines
462 B
YAML
20 lines
462 B
YAML
# Apply after MetalLB controller is installed (Helm chart or manifest).
|
|
# Namespace must match where MetalLB expects pools (commonly metallb-system).
|
|
apiVersion: metallb.io/v1beta1
|
|
kind: IPAddressPool
|
|
metadata:
|
|
name: noble-l2
|
|
namespace: metallb-system
|
|
spec:
|
|
addresses:
|
|
- 192.168.50.210-192.168.50.229
|
|
---
|
|
apiVersion: metallb.io/v1beta1
|
|
kind: L2Advertisement
|
|
metadata:
|
|
name: noble-l2
|
|
namespace: metallb-system
|
|
spec:
|
|
ipAddressPools:
|
|
- noble-l2
|