about summary refs log tree commit diff
path: root/k8s/metallb-config/templates
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2024-05-05 14:22:50 +0200
committerBaitinq <[email protected]>2024-05-05 14:54:43 +0200
commit32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0 (patch)
tree31383940ea5daefb15b339806ff26ca10e1cb21b /k8s/metallb-config/templates
parentk8s: add kafka-ui config (diff)
downloadfs-tracer-backend-32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0.tar.gz
fs-tracer-backend-32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0.tar.bz2
fs-tracer-backend-32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0.zip
k8s: fix metallb config resources not being applied
Diffstat (limited to 'k8s/metallb-config/templates')
-rw-r--r--k8s/metallb-config/templates/metallb.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/k8s/metallb-config/templates/metallb.yml b/k8s/metallb-config/templates/metallb.yml
new file mode 100644
index 0000000..9dee7ef
--- /dev/null
+++ b/k8s/metallb-config/templates/metallb.yml
@@ -0,0 +1,14 @@
+apiVersion: metallb.io/v1beta1
+kind: IPAddressPool
+metadata:
+  name: prod-pool
+  namespace: metallb-system
+spec:
+  addresses:
+  - 192.168.11.0/24
+---
+apiVersion: metallb.io/v1beta1
+kind: L2Advertisement
+metadata:
+  name: simplel2
+  namespace: metallb-system