Skip to content
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

Cache of k3s download for faster re-install (or --reset?) #442

Open
589290 opened this issue Oct 11, 2024 · 0 comments
Open

Cache of k3s download for faster re-install (or --reset?) #442

589290 opened this issue Oct 11, 2024 · 0 comments

Comments

@589290
Copy link

589290 commented Oct 11, 2024

Setting up a 5 node cluster, developing, wiping out the cluster via uninstall and then re-installing is slow.

The thought was that with an added --cache option the k3s download would be stored in /tmp. It would remain if the uninstall command was also called with --cache. That way, during the next install with --cache it will check to see if the file already exists in /tmp by verifying the sha256sum against the previously downloaded file to verify integrity and re-install without re-downloading.

[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.30.5+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.30.5+k3s1/k3s

If there's a more eloquent way to reset a 5 node HA cluster back to the state right after it was installed, perhaps with a --reset option instead? I'd be even more interested in that approach!

Do you want to work on this?

Subject to design approval, are you willing to work on a Pull Request for this issue or feature request?

I'm not even sure where to begin, so probably not.

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

No branches or pull requests

1 participant