force traefik to all worker nodes

This commit is contained in:
Erki Aas 2025-01-02 20:35:22 +02:00
parent a4b9bdf89d
commit fb7504cfee

View File

@ -27,6 +27,21 @@ deployment:
keel.sh/trigger: patch
keel.sh/pollSchedule: "@midnight"
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: '{{ template "traefik.name" . }}'
app.kubernetes.io/instance: '{{ .Release.Name }}-{{ .Release.Namespace }}'
topologyKey: topology.kubernetes.io/zone
updateStrategy:
type: Recreate
rollingUpdate:
maxUnavailable: 1
maxSurge: 1
accessLog:
format: json