diff --git a/traefik/values.yml b/traefik/values.yml index 141a8ee..00bb45e 100644 --- a/traefik/values.yml +++ b/traefik/values.yml @@ -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