Kubeadm reset should take care of removing control-plane nodes from the ClusterStatus status ConfigMap
I'll take this one.
Thanks @Klaven
/lifecycle active
additional info as per @Klaven request:
kubeadm-config ConfigMap is in kube-system namespace
All the machinery for reading/writing the config map already exists in cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go and cmd/kubeadm/app/util/config/cluster.go
The ConfigMap has two key values: one for the ClusterConfigurationobject, one for the ClusterStatus
Whenever a control-plane node joins, a new entry is created in ClusterStatus; this PR should implement removal of entry from the Clust erStatuswhenever a kubeadm reset operation is executed on a control-plane node.
/assign @Klaven
@timothysc: GitHub didn't allow me to assign the following users: Klaven.
Note that only kubernetes members and repo collaborators can be assigned.
For more information please see the contributor guide
In response to this:
/assign @Klaven
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Is it also desired to attempt the node deletion aside from modifying the kubeadm-config configmap?
@ereslibre there are multiple issue related to reset
For sake of simplicity IMO we should treat all of them as separated issues/PR
/assign
Most helpful comment
@ereslibre there are multiple issue related to reset
For sake of simplicity IMO we should treat all of them as separated issues/PR