--- # Define IP address pool for MetalLB using the new format apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: name: production namespace: metallb-system spec: addresses: - 192.168.8.240-192.168.8.250 --- # Define Layer 2 advertisement for the IP pool using the new format apiVersion: metallb.io/v1beta1 kind: L2Advertisement metadata: name: l2-advertisement namespace: metallb-system spec: ipAddressPools: - production