Files
cluster-state/infrastructure/traefik/values.yaml

38 lines
844 B
YAML

# infrastructure/traefik/values.yaml
deployment:
kind: Deployment
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: workload
operator: In
values:
- infra
- weight: 50
preference:
matchExpressions:
- key: workload
operator: In
values:
- Games
ports:
web:
port: 80
websecure:
port: 443
# Aktiviere das Dashboard für die Übersicht (optional)
ingressRoute:
dashboard:
enabled: true
matchRule: Host(`traefik.home.local`)
entryPoints: ["web"]
# Wichtig: Macht Traefik im Netzwerk erreichbar
service:
type: LoadBalancer
# Falls du MetalLB nutzt, könntest du hier Annotationen hinzufügen