diff --git a/base/metallb/kustomization.yaml b/base/metallb/kustomization.yaml index 617c145..7df1165 100644 --- a/base/metallb/kustomization.yaml +++ b/base/metallb/kustomization.yaml @@ -3,5 +3,5 @@ kind: Kustomization namespace: metallb-system resources: - - ./secrets - - github.com/metallb/metallb/config/native?ref=v0.13.7 +- ./secrets +- github.com/metallb/metallb/config/native?ref=v0.13.9 diff --git a/lb/advertise.yaml b/lb/advertise.yaml new file mode 100644 index 0000000..d251dba --- /dev/null +++ b/lb/advertise.yaml @@ -0,0 +1,9 @@ +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: l2-ip-pool-ad + namespace: metallb-system +spec: + ipAddressPools: + - main-pool + diff --git a/lb/ipaddresspoool.yaml b/lb/ipaddresspoool.yaml new file mode 100644 index 0000000..fe0cc0c --- /dev/null +++ b/lb/ipaddresspoool.yaml @@ -0,0 +1,8 @@ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: main-pool + namespace: metallb-system +spec: + addresses: + - 192.168.10.30-192.168.10.36 diff --git a/lb/kustomization.yaml b/lb/kustomization.yaml new file mode 100644 index 0000000..df9be42 --- /dev/null +++ b/lb/kustomization.yaml @@ -0,0 +1,5 @@ +namespace: metallb-system + +resources: + - ipaddresspoool.yaml + - advertise.yaml