[production] Pin snack / snackager / snackpub to the prod node pool#694
Merged
Conversation
Move the snack (website), snackager, and snackpub PRODUCTION
deployments off Node Auto-Provisioning and onto the dedicated GKE
prod node pool.
The prod pool carries the label pool=prod and the taint
dedicated=prod:NoSchedule. Each production overlay now applies a
deployment-prod-pool.yaml strategic-merge patch that sets:
nodeSelector: { pool: prod }
tolerations: [{ key: dedicated, value: prod, effect: NoSchedule }]
This mirrors the mechanism used for the staging overlays and keeps
the pinning as Infrastructure-as-Code. All three workloads are
stateless (no PVCs), so scheduling them onto the c4d-backed prod
pool is safe. The base deployments carry no nodeSelector, so the
patches are purely additive and no $patch: replace is needed.
Staging and other environments are untouched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
@byCedric could I get a review please? |
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.
What
Move the production snack, snackager, snackpub production workload(s) off the shared NAP pools onto the dedicated
prodGKE node pool (general-central):nodeSelector: pool=prod+ tolerationdedicated=prod:NoSchedule.Why
Node-pool consolidation — production workloads belong on the
prodpool, off NAP.Compatibility (verified against the live cluster)
prodnodes.prodpool taint =dedicated=prod:NoSchedule→ the added toleration is sufficient.🤖 Generated with Claude Code