fix(postgres): remove memory limit and add document database #259
Reference in New Issue
Block a user
Delete Branch "fix-postgres-oom"
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?
Summary
shared_buffers=384MB+max_connections=300the pod was being repeatedly OOMKilled under real workloads, leaving clients with intermittentconnect: connection refused. Keep the 400Mi request for scheduling.documentto the seeded database list ininitdb.sh.Test plan
kubectl --context kind-unbound apply -f k8s/infra/postgres.yaml— rollout succeeds./setup), verify thedocumentdatabase is created (requires emptydata/postgres/)