website/content/en/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase.md

2.2 KiB

title weight
kubeadm reset phase 90

kubeadm reset phase enables you to invoke atomic steps of the node reset process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.

kubeadm reset phase is consistent with the kubeadm reset workflow, and behind the scene both use the same code.

kubeadm reset phase

{{< tabs name="tab-phase" >}} {{< tab name="phase" include="generated/kubeadm_reset_phase.md" />}} {{< /tabs >}}

kubeadm reset phase preflight

Using this phase you can execute preflight checks on a node that is being reset.

{{< tabs name="tab-preflight" >}} {{< tab name="preflight" include="generated/kubeadm_reset_phase_preflight.md" />}} {{< /tabs >}}

kubeadm reset phase update-cluster-status

Using this phase you can remove this control-plane node from the ClusterStatus object.

{{< tabs name="tab-update-cluster-status" >}} {{< tab name="update-cluster-status" include="generated/kubeadm_reset_phase_update-cluster-status.md" />}} {{< /tabs >}}

kubeadm reset phase remove-etcd-member

Using this phase you can remove this control-plane node's etcd member from the etcd cluster.

{{< tabs name="tab-remove-etcd-member" >}} {{< tab name="remove-etcd-member" include="generated/kubeadm_reset_phase_remove-etcd-member.md" />}} {{< /tabs >}}

kubeadm reset phase cleanup-node

Using this phase you can perform cleanup on this node.

{{< tabs name="tab-cleanup-node" >}} {{< tab name="cleanup-node" include="generated/kubeadm_reset_phase_cleanup-node.md" />}} {{< /tabs >}}

What's next