Skip to content

Commit

Permalink
Fix HAProxy antiAffinity topologyKey to be host rather than zone
Browse files Browse the repository at this point in the history
  • Loading branch information
benbz committed Jun 29, 2023
1 parent c6c440f commit 5616ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/haproxy-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 5616ba8

Please sign in to comment.