feat: spread management-service pods across nodes via topologySpreadConstraints

3-9 replicas (HPA) previously relied on implicit scheduler spreading.
ScheduleAnyway (not DoNotSchedule) so pods still get scheduled if a node
is briefly unavailable, just less evenly.
This commit is contained in:
Story Crater Bot
2026-08-18 15:08:00 -07:00
parent 934634a2f6
commit be69b908c2
@@ -13,6 +13,13 @@ spec:
labels:
app: management-service
spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app: management-service
containers:
- name: management-service
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"