Skip to content

feat(hcloud): Talos snapshot images improvements #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mlinares1998
Copy link
Contributor

@mlinares1998 mlinares1998 commented May 10, 2025

Hi! 👋
This PR includes two key improvements to Talos snapshot bootstrap images.

📌 Summary of Changes

  1. Enabled QEMU Guest Agent (GA) by default
    As documented in the Hetzner changelog and the Talos Hetzner guide, the QEMU Guest Agent is now enabled by default in their builds, so i guess we should match that as-well.

  2. Reduced snapshot size by using blkdiscard before writing the image
    This change significantly reduces the final snapshot size and node bootstrap times by zeroing out the disk before writing the Talos image, as originally proposed in hcloud-upload-image project issue #96 .
    Captura desde 2025-05-10 16-20-29
    Captura desde 2025-05-10 16-37-55

Regards!

This change significantly reduces the snapshot size by zeroing out the disk
before writing the Talos image.
Inspired by apricote/hcloud-upload-image#96

Thanks to the original suggestion from the hcloud-upload-image project for inspiring this optimization.
@M4t7e
Copy link
Contributor

M4t7e commented May 12, 2025

Looks great! I'll merge this with the next major release of the module, probably this month 🙂

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