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

Warn that k3s-uninstall.sh deletes local-path-provisioner files #304

Open
benwaffle opened this issue Jul 10, 2024 · 1 comment
Open

Warn that k3s-uninstall.sh deletes local-path-provisioner files #304

benwaffle opened this issue Jul 10, 2024 · 1 comment

Comments

@benwaffle
Copy link

Is your feature request related to a problem? Please describe.
When I uninstalled k3s, I assumed it would leave around local path PVs, based on the warning on this page: https://docs.k3s.io/installation/uninstall. I didn't loose any important data, but it was surprising.

Describe the solution you'd like
Leave the files in /var/lib/rancher/k3s/storage/* around and tell the user about it.

@brandond
Copy link
Contributor

We could perhaps amend the warning on that page to make it clear that external Kubernetes storage does not include local-path-provisioner volumes, as these are not external.

We're unlikely to modify the uninstall script to leave additional things behind, this is the sort of "personal preference" change that while you might consider helpful, someone else would open an issue to complain about if we did do it that way.

@brandond brandond transferred this issue from k3s-io/k3s Jul 10, 2024
@brandond brandond changed the title consider making k3s-uninstall.sh not delete local-path-provisioner volumes Warn that k3s-uninstall.sh deletes local-path-provisioner files Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Triage
Development

No branches or pull requests

2 participants