Raise authentik postgres CPU, memory and buffer sizing #474
Reference in New Issue
Block a user
Delete Branch "benvin/authentik-cnpg-resources"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The 500m CPU limit is a 50ms CFS quota per 100ms period, so the postgres pods are throttled on every burst even at ~0.01 cores average and each query pays that latency. 128MB of
shared_buffersand a 256MB cache estimate also under-serve the planner on the joins authentik issues on its hot read paths.500m/1Gi, limits2/2Gishared_buffersto 512MB andeffective_cache_sizeto 1536MBshared_buffersRolling restart with switchover. Stacked on
benvin/authentik-hot-standby-feedback.