From c0e4bfeb66dc8eb58ffc4c96cccc380df560accf Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Thu, 8 Jan 2026 17:46:44 +0900 Subject: [PATCH] PERF(zot): add HA with 2 replicas - Increase replicas from 1 to 2 for high availability - Add soft pod anti-affinity to distribute across nodes --- zot/helm-values.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/zot/helm-values.yaml b/zot/helm-values.yaml index 3e8a09e..53bd5f4 100644 --- a/zot/helm-values.yaml +++ b/zot/helm-values.yaml @@ -4,7 +4,7 @@ controllers: zot: type: deployment - replicas: 1 + replicas: 2 strategy: RollingUpdate containers: zot: @@ -39,6 +39,15 @@ controllers: limits: memory: 256Mi pod: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/name: zot + topologyKey: kubernetes.io/hostname tolerations: - key: "node-role.kubernetes.io/master" operator: "Exists"