From 0bfcb5cb66f33f7c8745b60d6460eea01165df3c Mon Sep 17 00:00:00 2001 From: carldanley Date: Wed, 6 Jun 2018 16:33:19 -0400 Subject: [PATCH] Improve kubeadm reset output Let the operator know they should reset etcd manually when an external etcd was used --- cmd/kubeadm/app/cmd/reset.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/kubeadm/app/cmd/reset.go b/cmd/kubeadm/app/cmd/reset.go index b7939664062..3688e2c0237 100644 --- a/cmd/kubeadm/app/cmd/reset.go +++ b/cmd/kubeadm/app/cmd/reset.go @@ -164,6 +164,7 @@ func (r *Reset) Run(out io.Writer) error { dirsToClean = append(dirsToClean, "/var/lib/etcd") } else { fmt.Printf("[reset] no etcd manifest found in %q. Assuming external etcd\n", etcdManifestPath) + fmt.Println("[reset] please manually reset etcd to prevent further issues") } // Then clean contents from the stateful kubelet, etcd and cni directories