Bladeren bron

Primer commit

Celestino Rey 6 maanden geleden
commit
c1d65e35dc
3 gewijzigde bestanden met toevoegingen van 47 en 0 verwijderingen
  1. 32 0
      README.md
  2. 6 0
      metallb-anuncio.yaml
  3. 9 0
      metallb-config.yaml

+ 32 - 0
README.md

@@ -0,0 +1,32 @@
+# Instalación de MetalLB
+
+## Fuente
+
+Las instrucciones las cogí de [aquí](https://patriciocerda.com/?p=1458#)
+
+## Instalación
+
+    helm repo add metallb https://metallb.github.io/metallb
+    helm --namespace metallb-system \
+        install --create-namespace \
+        metallb metallb/metallb
+
+## Configuración
+
+    apiVersion: metallb.io/v1beta1
+    kind: IPAddressPool
+    metadata:
+      name: prod-pool
+      namespace: metallb-system
+    spec:
+      addresses:
+      - 192.168.10.0/24
+
+## Anunciar IP Pool
+
+    apiVersion: metallb.io/v1beta1
+    kind: L2Advertisement
+    metadata:
+      name: simplel2
+      namespace: metallb-system
+

+ 6 - 0
metallb-anuncio.yaml

@@ -0,0 +1,6 @@
+apiVersion: metallb.io/v1beta1
+kind: L2Advertisement
+metadata:
+  name: simplel2
+  namespace: metallb-system
+

+ 9 - 0
metallb-config.yaml

@@ -0,0 +1,9 @@
+apiVersion: metallb.io/v1beta1
+kind: IPAddressPool
+metadata:
+  name: prod-pool
+  namespace: metallb-system
+spec:
+  addresses:
+  - 192.168.1.151-192.168.1.200
+