From e8decf7e0344d31b907ef8404506eff5ca7247b8 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Mon, 29 Apr 2024 20:47:29 -0400 Subject: [PATCH] Add ipaddress pool --- metallb/ipaddresspool.yaml | 8 ++++++++ metallb/l2-advertisement.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 metallb/ipaddresspool.yaml create mode 100644 metallb/l2-advertisement.yaml diff --git a/metallb/ipaddresspool.yaml b/metallb/ipaddresspool.yaml new file mode 100644 index 0000000..9877ef3 --- /dev/null +++ b/metallb/ipaddresspool.yaml @@ -0,0 +1,8 @@ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: metallb-pool-addresses + namespace: metallb-system +spec: + addresses: + - 10.0.3.64-10.0.3.253 diff --git a/metallb/l2-advertisement.yaml b/metallb/l2-advertisement.yaml new file mode 100644 index 0000000..9c5351d --- /dev/null +++ b/metallb/l2-advertisement.yaml @@ -0,0 +1,8 @@ +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: my-l2-advertisment + namespace: metallb-system +spec: + ipAddressPools: + - metallb-pool-addresses