1.0 KiB
1.0 KiB
reviewers | title | content_template | weight | |||
---|---|---|---|---|---|---|
|
kubeadm reset | templates/concept | 60 |
{{% capture overview %}}
This command reverts any changes made by kubeadm init
or kubeadm join
.
{{% /capture %}}
{{% capture body %}} {{< include "generated/kubeadm_reset.md" >}}
External etcd clean up!
kubeadm reset
will not delete any etcd data if external etcd is used. This means that if you run kubeadm init
again using the same etcd endpoints, you will see state from previous clusters.
To wipe etcd data it is recommended you use a client like etcdctl, such as:
etcdctl del "" --prefix
See the etcd documentation for more information. {{% /capture %}}
{{% capture whatsnext %}}
- kubeadm init to bootstrap a Kubernetes master node
- kubeadm join to bootstrap a Kubernetes worker node and join it to the cluster {{% /capture %}}