• Kubernetes Submit Queue's avatar
    Merge pull request #42713 from luxas/kubeadm_fix_reset · 5826b09a
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 43018, 42713)
    
    kubeadm: Don't drain and remove the current node on kubeadm reset
    
    **What this PR does / why we need it**:
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    In v1.5, `kubeadm reset` would drain your node and remove it from your cluster if you specified, but now in v1.6 we can't do that due to the RBAC rules we have set up.
    
    After conversations with @liggitt, I also agree this functionality was somehow a little mis-placed (though still very convenient to use), so we're removing it for v1.6.
    
    It's the system administrator's duty to drain and remove nodes from the cluster, not the nodes' responsibility.
    
    The current behavior is therefore a bug that needs to be fixed in v1.6
    
    **Release note**:
    
    ```release-note
    kubeadm: `kubeadm reset` won't drain and remove the current node anymore
    ```
    @liggitt @deads2k @jbeda @dmmcquay @pires @errordeveloper
    5826b09a
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genslateyaml Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
gke-certificates-controller Loading commit data...
hyperkube Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...