-
Notifications
You must be signed in to change notification settings - Fork 767
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
microk8s.reset doesn't clean up volumes #488
Comments
@knkski this is somewhat expected. We are not removing persistent volumes unless you do a |
@ktsakalozos: A flag on |
I am facing this issue as well, I think it would be nice for a warning to show up here .e.g.
|
@ktsakalozos: I tried disabling storage (after having just done a
|
Did you Could you do a |
@ktsakalozos: Looks like
|
Yes, that would be a great entry level patch! Go ahead with creating an issue with the suggested improvement. |
This will help for cleaning volume - Reintroduce cluster_clean removed by @ktsakalozos (8173dce) Relate-to: canonical#488 Change-Id: I04a13f060b1c4beda9dd5006c435e5b2be12c385 Signed-off-by: Philippe Coval <p.coval@samsung.com>
This will help for cleaning volume - Reintroduce cluster_clean removed by @ktsakalozos (8173dce) Relate-to: canonical#488 Change-Id: I04a13f060b1c4beda9dd5006c435e5b2be12c385 Signed-off-by: Philippe Coval <p.coval@samsung.com>
This will help for cleaning volumes Relate-to: canonical#488 Change-Id: I04a13f060b1c4beda9dd5006c435e5b2be12c385 Signed-off-by: Philippe Coval <p.coval@samsung.com>
This will help for cleaning volumes Relate-to: #488 Change-Id: I04a13f060b1c4beda9dd5006c435e5b2be12c385 Signed-off-by: Philippe Coval <p.coval@samsung.com>
I guess this issue can be closed since release of v1.16.0 (920) ?
Relate-to: #616 |
Yes, thank you @rzr |
This will help for cleaning volumes Relate-to: canonical#488 Change-Id: I04a13f060b1c4beda9dd5006c435e5b2be12c385 Signed-off-by: Philippe Coval <p.coval@samsung.com>
I attempted to remove the microk8s snap, and it hung on
Save data of snap "microk8s" in automatic snapshot set
. After investigating a bit, it looks like microk8s.reset doesn't clean up volumes, and I had many of them left over:With paths like this:
/var/snap/microk8s/common/default-storage/kubeflow-database-a6dbbcb2-mariadb-0-pvc-a75a4c3b-6b61-11e9-bf3c-e86a6466b483/
After running
sudo rm -rf /var/snap/microk8s/common/*
, removing the microk8s snap worked great.The text was updated successfully, but these errors were encountered: