From 944cf51f6b26428c05f2b9564e56f6c21648242e Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 21 May 2026 09:14:35 +0000 Subject: [PATCH] authentik: worker replicas 3 -> 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workers handle background tasks only (LDAP sync, email, certificate renewal) — no user-facing traffic, so 2-of-3 redundancy isn't load- bearing. Reduces sustained CPU by ~100m. Server replicas unchanged at 3 (PDB minAvailable=2 — user-facing). PgBouncer pool unchanged at 3 (DB connection pooling). --- stacks/authentik/modules/authentik/values.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stacks/authentik/modules/authentik/values.yaml b/stacks/authentik/modules/authentik/values.yaml index 9822516c..e621d76e 100644 --- a/stacks/authentik/modules/authentik/values.yaml +++ b/stacks/authentik/modules/authentik/values.yaml @@ -78,7 +78,10 @@ global: addPrometheusAnnotations: true worker: - replicas: 3 + # 2 replicas: workers handle background tasks (LDAP sync, email, + # certificate renewal) — no user-facing traffic, so 2-of-3 isn't + # needed for availability. Drop saves ~100m sustained CPU. + replicas: 2 # Same unauthenticated_age cap as server — both the server (Django session # middleware) and worker (cleanup tasks) need to see the value. env: