Skip to content

feat(xtra-sandbox): consolidate SANDBOX onto a single t3.medium node - #281

Merged
arielr-lt merged 1 commit into
mainfrom
feat/xtra-sandbox-single-node
Sep 3, 2026
Merged

feat(xtra-sandbox): consolidate SANDBOX onto a single t3.medium node#281
arielr-lt merged 1 commit into
mainfrom
feat/xtra-sandbox-single-node

Conversation

@arielr-lt

@arielr-lt arielr-lt commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Applies the same single-node consolidation as #280 (TEST) to the SANDBOX environment. SANDBOX does not require HA (fail-fast by design), so the two-node setup (system + app) is collapsed into one t3.medium node group.

Already applied to the live ctdl-xtra-sandbox cluster via a two-phase rolling rollout; this PR aligns the committed IaC with the running state.

Changes

  • enable_prefix_delegation on the CNI + AL2023 launch template with maxPods: 110 so one t3.medium fits the full workload (default cap 17).
  • Removed the system node group; single app node group min=max=desired=1.
  • Repointed ingress-nginx and metrics-server to nodepool: app, scaled to 1 replica (fixed in source, and patched live before the system node was removed → no outage).
  • Dropped cluster-autoscaler (manifest + install step).

Live state after rollout

  • 1 × t3.medium node (maxPods 110), all pods Running
  • Node requests: ~62% CPU / ~67% memory

Mirror the TEST consolidation for SANDBOX. SANDBOX does not require HA
(fail-fast by design); collapse the two-node setup (system + app) into a
single t3.medium node group.

- Enable VPC CNI prefix delegation (enable_prefix_delegation flag, default
  false so prod is unchanged) and set kubelet maxPods=110 via an AL2023
  launch template, so one t3.medium can host the full workload.
- Remove the system node group; pin ingress-nginx and metrics-server to
  nodepool=app and scale them to 1 replica.
- Drop cluster-autoscaler (pointless on a fixed 1-node group).
- Ignore RDS engine_version changes (auto_minor_version_upgrade is on) to
  stop plan drift.

Note: the shared modules/eks change is duplicated from #280 and will
de-dupe on rebase once #280 merges to main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@arielr-lt
arielr-lt requested a review from rohit-joy September 3, 2026 00:03
@arielr-lt
arielr-lt merged commit 23224ac into main Sep 3, 2026
3 checks passed
@arielr-lt
arielr-lt deleted the feat/xtra-sandbox-single-node branch September 7, 2026 21:42
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.

2 participants