Skip to content

Match staging compute and ingress topology to production - #1751

Merged
rdimitrov merged 1 commit into
mainfrom
codex/staging-production-parity
Oct 27, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
codex/staging-production-parity

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

Staging currently has two e2-standard-2 nodes and one ingress/cache replica, while production has two e2-standard-4 nodes and two ingress replicas. Those differences limit how confidently staging burst tests predict production capacity.

Configure staging permanently with e2-standard-4 nodes and two ingress replicas, retaining the existing two-node pool, 50-GB boot disks, PostgreSQL limits/settings and application resources. Update the deployment documentation to describe the shared sizing.

Validation: make -C deploy build and git diff --check passed. Refreshed Pulumi previews for both stacks completed against isolated copies of their checkpoints. Staging shows an update of the existing node pool (machine type only), ingress scaling from one to two, and the chart's corresponding PodDisruptionBudget; no cluster or node-pool replacement. Existing Helm admission-hook/RBAC reconciliation also appears. The production preview has no capacity/topology change from this patch. Regional surge quota was checked and no competing GKE operation was active.

Rollout recreates staging nodes using the existing surge policy, so its single PostgreSQL instances can briefly be unavailable while volumes reattach. The staging registry table has a verified production-data copy and a retained logical snapshot. After staging settles, repeat the same baseline/candidate burst tests; this PR does not release or promote the application to production.

@rdimitrov
rdimitrov merged commit b96c5b2 into main Oct 27, 2026
9 checks passed
@rdimitrov
rdimitrov deleted the codex/staging-production-parity branch October 27, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant