disable metllb auto allocation & configure traefik with dual stack

This commit is contained in:
Mans Ziesel 2024-09-25 17:31:21 +02:00
parent de5146218c
commit e9271b25a8
2 changed files with 4 additions and 1 deletions

View File

@ -7,3 +7,4 @@ spec:
addresses: addresses:
- 192.168.10.150-192.168.10.199 - 192.168.10.150-192.168.10.199
- 2a02:a442:ba11:1:150::/122 - 2a02:a442:ba11:1:150::/122
autoAssign: false

View File

@ -2,9 +2,11 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: traefik-service name: traefik-service
annotations:
metallb.universe.tf/loadBalancerIPs: 192.168.10.150,2a02:a442:ba11:1:150
spec: spec:
type: LoadBalancer type: LoadBalancer
externalTrafficPolicy: Local
ports: ports:
- name: traefik-dashboard - name: traefik-dashboard
port: 8080 port: 8080