Skip to content

feat(xtra-test): consolidate TEST onto a single t3.medium node - #280

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

feat(xtra-test): consolidate TEST onto a single t3.medium node#280
arielr-lt merged 1 commit into
mainfrom
feat/xtra-test-single-node

Conversation

@arielr-lt

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

Copy link
Copy Markdown
Collaborator

Summary

Per client request, reduce the TEST environment to a single VM (no HA — TEST should surface failures fast). This collapses the two-node setup (separate system + app node groups) into one consolidated t3.medium node group.

This change is already applied to the live ctdl-xtra-test cluster (in two phases, rolling); this PR brings the committed IaC in line with the running state.

Changes

Node consolidation

  • New enable_prefix_delegation module flag (default false → prod/sandbox unchanged). Enabled on TEST to raise per-node pod capacity.
  • AL2023 launch template sets kubelet maxPods: 110 so one t3.medium can host the full workload (default cap is 17).
  • Removed the system node group; single app node group pinned to min=max=desired=1.
  • Repointed ingress-nginx and metrics-server from nodepool: systemnodepool: app, scaled to 1 replica.
  • Dropped cluster-autoscaler (nothing to scale on a fixed single node); removed its manifest and install step.

TEST 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 (new enable_prefix_delegation flag,
  default false so prod/sandbox are 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, so
  RDS bumps the minor version out of band) to stop plan drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@arielr-lt
arielr-lt requested a review from rohit-joy September 2, 2026 23:36
@arielr-lt
arielr-lt merged commit 28cf67a into main Sep 2, 2026
3 checks passed
arielr-lt added a commit that referenced this pull request Sep 3, 2026
…281)

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: Ariel Rolfo <arielr-lt+username@users.noreply.github.com>
@arielr-lt
arielr-lt deleted the feat/xtra-test-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