From 7c0db6b45885ff59118fa2517a116d8768c4d2d7 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Thu, 8 Jan 2026 13:21:00 +0900 Subject: [PATCH] FEAT(velero): enable HA with replica 2 and soft anti-affinity - Add replicaCount: 2 to velero deployment - Add soft pod anti-affinity for node distribution - Configure affinity for velero controller --- velero/helm-values.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/velero/helm-values.yaml b/velero/helm-values.yaml index d3d4dc7..7970fdf 100644 --- a/velero/helm-values.yaml +++ b/velero/helm-values.yaml @@ -10,6 +10,9 @@ image: tag: v1.17.1 pullPolicy: IfNotPresent +# Replica count for HA +replicaCount: 2 + # Resource requests resources: requests: @@ -107,5 +110,13 @@ nodeSelector: {} # Tolerations (optional) tolerations: [] -# Affinity (optional) -affinity: {} +# Affinity - Soft Anti-Affinity to spread pods across nodes +affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/name: velero + topologyKey: kubernetes.io/hostname