From 5616ba88eb35ea2d6ce664e73ee56507c0a64b30 Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Thu, 29 Jun 2023 14:28:05 +0100 Subject: [PATCH] Fix HAProxy antiAffinity topologyKey to be host rather than zone --- templates/haproxy-statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/haproxy-statefulset.yaml b/templates/haproxy-statefulset.yaml index f0dff28..a4e8649 100644 --- a/templates/haproxy-statefulset.yaml +++ b/templates/haproxy-statefulset.yaml @@ -37,7 +37,7 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchLabels: {{ include "jitsi.haproxy.selectorLabels" $ | nindent 16 }} - topologyKey: topology.kubernetes.io/zone + topologyKey: kubernetes.io/hostname {{- if $.Values.haproxy.imagePullSecrets }} imagePullSecrets: {{- range $secretName := $.Values.haproxy.imagePullSecrets }}