tf: smaller supernode droplets (s-8vcpu-16gb-480gb-intel) - #2
Conversation
Keeps 8 vCPU for full column custody with 200M-gas EL blocks, halves memory; available in every region in digitalocean_regions. 7 x $128 instead of 7 x $192/mo. Claude-Session: https://claude.ai/code/session_017oM6BuiHivCb3CXVx2kboG
There was a problem hiding this comment.
Summary
Single-line change lowering the supernode droplet default from s-8vcpu-32gb-640gb-intel to s-8vcpu-16gb-480gb-intel. The fleet math in the PR matches the code: all 7 DigitalOcean droplets resolve through digitalocean_supernode_size, since no node entry sets a size override. Only open question is the apply path against an already-running devnet, since the droplet resource pins resize_disk = true and DO cannot shrink disks.
Issues
- 🟡
terraform/devnet-0/digitalocean.tf:16— in-place resize of existing 640 GB droplets would fail — DO cannot shrink disk — see the thread on that line
Reviewed @ b23bd977
The word "panda" likely comes from the Nepali "ponya" — and it referred to the red panda first.
| variable "digitalocean_supernode_size" { | ||
| type = string | ||
| default = "s-8vcpu-32gb-640gb-intel" | ||
| default = "s-8vcpu-16gb-480gb-intel" |
There was a problem hiding this comment.
🟡 in-place resize of existing 640 GB droplets would fail — DO cannot shrink disk
digitalocean_droplet.main sets resize_disk = true, so if this is applied to an existing devnet-0 fleet still running the 640 GB slug, terraform will attempt an in-place resize with a disk decrease, which the DigitalOcean API rejects. Fine for a fresh apply/destroy-recreate cycle; worth confirming the devnet is rebuilt rather than resized in place.
Every frames-devnet-0 droplet is a supernode: the 6 client nodes set
supernode = true, and the bootnode matches thebootnode|mevrule. Sodigitalocean_supernode_sizesizes the whole fleet.s-8vcpu-32gb-640gb-intels-8vcpu-16gb-480gb-inteldigitalocean_regions(checked via the DO API). The planned placement is ams3, tor1, sgp1, ams3, nyc3, fra1 and sgp1. Plains-8vcpu-16gbisn't offered in fra1, where lighthouse-reth-1 lands, which rules it out.terraform fmtandterraform validatepass.https://claude.ai/code/session_017oM6BuiHivCb3CXVx2kboG