-
Notifications
You must be signed in to change notification settings - Fork 715
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
(Weave) Kubeadm reset on node not restoring initial state. #255
Comments
@cheburakshu you can just clean up the docker instances eg But ideally before you reset, you would delete all deployments. But even then, probably still some traces will linger around in mount points on the host (eg A bug related to this was opened kubernetes/kubernetes#44911 |
@coeki I raised a bug on weavenet for which he opened it on kubernetes. Please see - weaveworks/weave#2911 referenced in #44911. |
@cheburakshu My bad, didn't read the issue 44911 well. But after reading a bit through that issue, and related issues, the question arises if this is a As @bboreham pointed out, there's no good way to clean up stuff done to the node/host after deletion of a deployment/daemonset, as pointed out in kubernetes/kubernetes#35183. I'm not sure if Maybe It seems like a loop, but depends on what the responsibilities of what |
/cc @klizhentas |
xref: https://github.com/kubernetes/community/pull/483/files seems like the proper way the system should behave and it's not a kubeadm issue, but we should definitely document the cleanup process. |
FWIW, I believe kubernetes/community#541 is a better match for 98% of the problem wrt Weave Net: we can clean up in The other 2% of the problem is things like "the pod already died when you're trying to delete it", and I'm not sure there is any complete solution in that scenario. |
So I'm going to close this one as it's not really kubeadm so much as the kubelet and weave. |
I used kubeadm join with token and ip address of master.
Immediately I had to reset it.
But, kubeadm does not delete the weave network.
FYI - I did not install weave on node. I installed only on master as per the kubeadm install guide.
How to recover the node?
The text was updated successfully, but these errors were encountered: