From e9271b25a8cc9c79478e9b35a19ff3b3f4de0c90 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Wed, 25 Sep 2024 17:31:21 +0200 Subject: [PATCH] disable metllb auto allocation & configure traefik with dual stack --- metallb/base/metallb-ip-address-pool.yaml | 1 + traefik/base/002-traefik-services.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/metallb/base/metallb-ip-address-pool.yaml b/metallb/base/metallb-ip-address-pool.yaml index 6523f6c..7db1745 100644 --- a/metallb/base/metallb-ip-address-pool.yaml +++ b/metallb/base/metallb-ip-address-pool.yaml @@ -7,3 +7,4 @@ spec: addresses: - 192.168.10.150-192.168.10.199 - 2a02:a442:ba11:1:150::/122 + autoAssign: false diff --git a/traefik/base/002-traefik-services.yaml b/traefik/base/002-traefik-services.yaml index d5182aa..21dfab8 100644 --- a/traefik/base/002-traefik-services.yaml +++ b/traefik/base/002-traefik-services.yaml @@ -2,9 +2,11 @@ apiVersion: v1 kind: Service metadata: name: traefik-service - + annotations: + metallb.universe.tf/loadBalancerIPs: 192.168.10.150,2a02:a442:ba11:1:150 spec: type: LoadBalancer + externalTrafficPolicy: Local ports: - name: traefik-dashboard port: 8080