Repository navigation
talos: balloon device, standard display, serial port and discard on the VMs - #10
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hardware changes to the Proxmox VMs of the
talosmodule, from a review of the prod control planes.floating = dedicated): withballoon: 0Proxmox cannot read the guest's memory statistics and shows every touched page, page cache included, as used: close to 100% on every Talos node. Withfloatingequal todedicatednothing is ballooned away.vgatypestd): the template hasvga: serial0, so the VMs have no screen and the Talos dashboard, drawn on the screen, is never seen.serial_device {}): set in the module instead of inherited from the template. Talos writes its own output tottyS0, seen in the xterm.js console.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_bootis 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
-targetper VM), after which the apply has nothing to change on the VMs.Testing:
tofu testintalospasses (68), with new assertions for the four settings. Not applied to a running cluster.🤖 Generated with Claude Code