diff --git a/clusters/my-cluster/metallb-system/ip-address-pool.yaml b/clusters/my-cluster/metallb-system/ip-address-pool.yaml new file mode 100644 index 0000000..7adcd3f --- /dev/null +++ b/clusters/my-cluster/metallb-system/ip-address-pool.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: first-pool + namespace: metallb-system +spec: + addresses: + - 10.100.100.240-10.100.100.250 diff --git a/clusters/my-cluster/metallb-system/kustomization.yaml b/clusters/my-cluster/metallb-system/kustomization.yaml index d865844..9bb68de 100644 --- a/clusters/my-cluster/metallb-system/kustomization.yaml +++ b/clusters/my-cluster/metallb-system/kustomization.yaml @@ -3,3 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - metallb-native.yaml + - ip-address-pool.yaml + - l2-advertisement.yaml diff --git a/clusters/my-cluster/metallb-system/l2-advertisement.yaml b/clusters/my-cluster/metallb-system/l2-advertisement.yaml new file mode 100644 index 0000000..8007f64 --- /dev/null +++ b/clusters/my-cluster/metallb-system/l2-advertisement.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: example + namespace: metallb-system