From e92e05b98f72c390389e24c5e619e9933addcfa1 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Sat, 10 Jan 2026 03:21:16 +0900 Subject: [PATCH] PERF(zot): scale down to single replica - Reduce replicas from 2 to 1 - Remove Redis session driver (no longer needed) - Remove podAntiAffinity configuration --- zot/helm-values.yaml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/zot/helm-values.yaml b/zot/helm-values.yaml index 00e79ac..816ba92 100644 --- a/zot/helm-values.yaml +++ b/zot/helm-values.yaml @@ -4,7 +4,7 @@ controllers: zot: type: deployment - replicas: 2 + replicas: 1 strategy: RollingUpdate containers: zot: @@ -38,17 +38,6 @@ controllers: memory: 128Mi limits: memory: 128Mi - pod: - affinity: - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 100 - podAffinityTerm: - labelSelector: - matchLabels: - app.kubernetes.io/name: zot - topologyKey: kubernetes.io/hostname - service: zot: controller: zot @@ -143,12 +132,7 @@ configMaps: } } }, - "sessionKeysFile": "/etc/zot/session-keys.json", - "sessionDriver": { - "name": "redis", - "url": "redis://authelia-redis-master.authelia.svc.cluster.local:6379", - "keyprefix": "zot" - } + "sessionKeysFile": "/etc/zot/session-keys.json" } }, "log": {