authentik: cap ak-pg smartShutdownTimeout to 10s #16

Merged
k.renner merged 1 commits from fix/ak-pg-smart-shutdown-timeout into master 2026-06-13 13:42:02 +00:00
+7
View File
@@ -5,6 +5,13 @@ metadata:
namespace: authentik
spec:
instances: 2
# Cap graceful-drain on demotion: on failover/switchover the old primary is
# removed from the -rw service immediately, but the new primary is only
# promoted once the old one is down. The default smart-shutdown waits 180s
# for client connections to drain (Authentik holds persistent conns), leaving
# -rw backendless that whole time. Capping at 10s bounds failover downtime to
# ~10-15s (fast shutdown + promotion).
smartShutdownTimeout: 10
imageName: ghcr.io/cloudnative-pg/postgresql:16
enableSuperuserAccess: true
storage: