Improve kubeadm reset output

Let the operator know they should reset etcd manually when an external
etcd was used
pull/8/head
carldanley 2018-06-06 16:33:19 -04:00
parent 7a9c05bd68
commit 0bfcb5cb66
1 changed files with 1 additions and 0 deletions

View File

@ -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