-
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
Cordon, drain and remove a node from the cluster when running kubeadm reset #42
Comments
From @errordeveloper on October 13, 2016 9:18 This makes sense to add. Are you envisioning re-joining another cluster or simplify clean-up and recycle nodes? Right now you can just throw away a node and run |
From @pires on October 14, 2016 20:55 I'll add this behavior after #34807 lands, such that both Thoughts @luxas @errordeveloper? |
From @pires on November 8, 2016 9:22 This is a list of potential execution steps:
1 - Existing Thoughts? |
I raised discussion about how to change Really need thoughts before proceeding. |
We need to discuss what the semantics would be regarding What would the use-case for |
@luxas leaving a cluster is different than resetting everything, including stopping the |
@pires so when would you leave but not reset? Are you thinking about something like a node restart? But that can be fixed with a plain kubectl command... |
@luxas i joined master 1. now i want my node to join a different master. Leave is just reset but with keeping the system ready to re-run |
To me it sounds like you want:
And it sounds like |
I agree that 'leave' doesn't seem necessary. I would rather contemplate On Wed, 23 Nov 2016, 17:43 Lucas Käldström, notifications@github.com
|
@errordeveloper I still want the top-level command, but I think we can just do fine with |
Feel free to reassign this to anyone else. |
|
The PR is here: kubernetes/kubernetes#37831 |
Fixed with kubernetes/kubernetes#37568 |
@cheburakshu Cleaning up the network is hard; you're free to install whatever networking solution you want, so therefore kubeadm can't know how to cleanup something it hasn't installed. Unfortunately this is out of scope for kubeadm, we can't build in cleanup solutions for every single network provider. |
From @bruceauyeung on October 9, 2016 2:32
currently
kubeadm
command provides a commandjoin
to join a cluster. but there isn't a command to leave that cluster. maybekubeadm leave
is suitable for this circumstancekubeadm version
Copied from original issue: kubernetes/kubernetes#34404
The text was updated successfully, but these errors were encountered: