Skip to content

[staging] Pin snack / snackager / snackpub to the dev node pool#693

Merged
hungtuanz merged 1 commit into
mainfrom
snack-staging-dev-pool
Jul 6, 2026
Merged

[staging] Pin snack / snackager / snackpub to the dev node pool#693
hungtuanz merged 1 commit into
mainfrom
snack-staging-dev-pool

Conversation

@hungtuanz

Copy link
Copy Markdown
Contributor

What

Move the staging snack, snackager and snackpub deployments off the shared NAP pools onto the dedicated development GKE node pool: nodeSelector: pool=dev + toleration dedicated=dev:NoSchedule.

Why

Node-pool consolidation — staging workloads belong on the development pool, off NAP.

Compatibility (verified live)

  • Stateless (no PVCs) → no pd-balanced/Hyperdisk attach issue on the c4d-standard-8 development nodes.
  • development taint = dedicated=dev:NoSchedule (only) → toleration is sufficient.
  • Staging overlays render with pool=dev + dedicated=dev; production overlays unchanged.

🤖 Generated with Claude Code

Move the staging Snack workloads off the autoscaled NAP (Node Auto
Provisioning) nodes and onto the dedicated GKE `development` node pool on
general-central (project exponentjs), as part of the IaC node-pool
consolidation.

The development pool is labeled `pool=dev` and carries the taint
`dedicated=dev:NoSchedule`. Each staging Deployment pod template now sets:
  - nodeSelector: pool=dev
  - toleration: dedicated=dev:NoSchedule

The base manifests have no nodeSelector, so this is a plain additive
strategic-merge patch wired through each staging overlay's existing
patchesStrategicMerge list (matching the repo's established override
mechanism). Production overlays are untouched and continue to schedule as
before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hungtuanz
hungtuanz requested a review from byCedric as a code owner July 2, 2026 07:23
@hungtuanz

Copy link
Copy Markdown
Contributor Author

@byCedric could i get a review please?

@hungtuanz
hungtuanz merged commit ae50633 into main Jul 6, 2026
18 checks passed
@hungtuanz
hungtuanz deleted the snack-staging-dev-pool branch July 6, 2026 08:07
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