Repository navigation
Increase isolated production database to eight vCPUs - #1873
Merged
Merged
Conversation
rdimitrov
added a commit
that referenced
this pull request
Nov 20, 2026
Promote production from 1.8.9 to 1.8.10 (source fa88719), including #1865's updated-since query and covering-index improvements. Replicas, HPA, connection pools, cache settings, and database resources are unchanged by this PR. Validation: release build succeeded and amd64 image digest was verified. Both covering indexes were built concurrently and validated in production; previous indexes remain for rollback. #1873 deployed the eight-vCPU database node with six CPUs allocated to PostgreSQL; database identity and PVCs are preserved, database is Ready, and the primary PDB is restored. CI and CodeQL pass. A fresh production preview shows exactly one deployment update (image and rollout annotation), no replacements or deletions. After deployment, verify migration 020, the released image digest, API readiness, errors, latency, and pool queues. The database node/resource upgrade involved maintenance interruptions; monitor recovery separately from application performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grow only the dedicated production database node from e2-standard-4 to e2-standard-8 and give PostgreSQL six CPUs, matching the configuration tested with #1865. Application workers remain e2-standard-4; app HPA, connection pools, memory, shared buffers, storage, and node-count bounds remain unchanged.
The databaseNodeMachineType override defaults to the existing worker-sized pool when omitted and is guarded to isolated production. PostgreSQL 3/3 remains supported on the larger node for staged upgrade/rollback. The protected pool keeps its identity and SURGE settings; resizing restarts the singleton DB and reattaches its existing PVC. App image promotion is separate.
Validation: deployment Go tests and 61 deployment-script Python tests passed. Full production preview shows three updates only: DB pool machine type, registry-pg CPU request/limit and Kubernetes provider metadata; 216 resources unchanged, no replacements/deletions. Worker pool, Grafana, networking and all PVCs are unchanged. Region quota has headroom, no competing GKE operation was present, and the DB volume has about 48 GiB free. Latest production backup completed November 20.
Rollout requires a temporary CNPG node maintenance window with reusePVC=true to permit graceful movement of the protected singleton primary. Restore normal maintenance/PDB protection after DB readiness and PVC identity verification. The application release is promoted after index prebuild/validation and DB recovery. Raw production state and preview remain private.