1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-16 12:42:57 +00:00
No description
Find a file
Cursor Agent 3338b31e1a
Model node pools on real AWS instance types, prices & spot market
- Replace the generic node pools with realistic AWS EC2 families and their
  us-east-1 on-demand prices: c5.xlarge/c5.2xlarge (general), c5d.2xlarge
  (local-NVMe SSD), r5.2xlarge (memory), g4dn.xlarge (1× T4 GPU), plus c5
  spot variants. Pod requests were already realistic and are unchanged.
- Spot price is now the live fraction of on-demand (mean-reverting ~0.45,
  clamped <1 since AWS never bills spot above on-demand); spot nodes bill at
  cost×spotPrice and a hotter market means more interruptions.
- GPU nodes are now single-GPU (g4dn.xlarge), so the autoscaler provisions
  one GPU node per pending GPU pod instead of de-duping to one per burst.
- Name nodes with a random k8s-style suffix (node-xugjs) while keeping a
  stable internal id.

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-26 14:04:08 +00:00
.github/workflows
cf-worker
cf-worker-container
cf-worker-go
container-vm
driftlessaf
gitea
iap
image-workflow
k8s-scheduler-game Model node pools on real AWS instance types, prices & spot market 2026-06-26 14:04:08 +00:00
litestream
.devcontainer.json
.gitignore
LICENSE