Skip to content

talos: balloon device, standard display, serial port and discard on the VMs - #10

Merged
olemathias merged 1 commit into
mainfrom
talos-balloon
Nov 18, 2026
Merged

olemathias merged 1 commit into
mainfrom
talos-balloon

Conversation

@olemathias

Copy link
Copy Markdown
Member

Hardware changes to the Proxmox VMs of the talos module, from a review of the prod control planes.

  • Balloon device (floating = dedicated): with balloon: 0 Proxmox cannot read the guest's memory statistics and shows every touched page, page cache included, as used: close to 100% on every Talos node. With floating equal to dedicated nothing is ballooned away.
  • Standard display (vga type std): the template has vga: serial0, so the VMs have no screen and the Talos dashboard, drawn on the screen, is never seen.
  • Serial port (serial_device {}): set in the module instead of inherited from the template. Talos writes its own output to ttyS0, seen in the xterm.js console.
  • Disk discard = "on", ssd = true: a disk block on a clone takes the provider's defaults (discard = "ignore"), so space freed in the guest was never freed in Ceph.

on_boot is unchanged.

Every change needs a restart of the VM, and the provider restarts each VM it changes: a plain apply restarts every node of a pool at once, taking etcd below quorum. UPGRADING.md describes making the change in Proxmox one node at a time first (or -target per VM), after which the apply has nothing to change on the VMs.

Testing: tofu test in talos passes (68), with new assertions for the four settings. Not applied to a running cluster.

🤖 Generated with Claude Code

@olemathias
olemathias merged commit 3853b4b into main Nov 18, 2026
37 checks passed
olemathias added a commit that referenced this pull request Nov 18, 2026
…e balloon device

From a review of #10:
- serial_device is dropped: the provider reads serial devices of a clone only once the
  state has some, so the block planned a change on every existing VM and rebooted them all
  in one apply, also after the change was made by hand in Proxmox.
- FilesystemTrimConfig (168h) on every node: discard = on passes discards to Ceph, but
  Talos never trims without the document.
- With the balloon device Proxmox shows total minus MemFree, so page cache still counts
  as used. The changelog said it would show real usage.
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.

1 participant