# Managed by Ansible (roles/k3s_metallb) — do not edit on the node. # # Plain manifests, not a HelmChart — these are MetalLB's own CRs, not chart # values. k3s's deploy controller applies anything dropped in this # directory, not only HelmChart CRs, and retries until the CRDs the # HelmChart alongside this file installs actually exist. # # L2 (ARP/NDP) mode, not BGP — the simplest fit for a flat home LAN with no # BGP-speaking router. One pool, one advertisement, both named "default". apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: name: default namespace: {{ k3s_metallb_namespace }} spec: addresses: - {{ k3s_metallb_address_range }} --- apiVersion: metallb.io/v1beta1 kind: L2Advertisement metadata: name: default namespace: {{ k3s_metallb_namespace }} spec: ipAddressPools: - default