From fb7504cfee67a7a4fa549ca25068fe5e804a40e6 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Thu, 2 Jan 2025 20:35:22 +0200 Subject: [PATCH] force traefik to all worker nodes --- traefik/values.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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