authentik: worker replicas 3 -> 2
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).
This commit is contained in:
parent
701b73bf53
commit
899c7adaa0
1 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue