From 4c4d56bfc0b06e4798941df86c7d9d6e1e3dfa3b Mon Sep 17 00:00:00 2001 From: Jamie Hannaford Date: Mon, 30 Oct 2017 18:46:41 +0100 Subject: [PATCH] add doc for wiping etcd state (#5939) --- docs/setup/independent/create-cluster-kubeadm.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/setup/independent/create-cluster-kubeadm.md b/docs/setup/independent/create-cluster-kubeadm.md index 46d59c0541..bba320bc23 100644 --- a/docs/setup/independent/create-cluster-kubeadm.md +++ b/docs/setup/independent/create-cluster-kubeadm.md @@ -471,6 +471,19 @@ kubeadm reset If you wish to start over simply run `kubeadm init` or `kubeadm join` with the appropriate arguments. +**Note**: `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 after reset, it is +recommended you use a client like `etcdctl`, such as: + +``` +etcdctl del "" --prefix +``` + +See +[their documentation](https://github.com/coreos/etcd/tree/master/etcdctl) for more +information. + ## Upgrading Instructions for upgrading kubeadm clusters are available for: