Merge pull request #64850 from carldanley/improve-kubeadm-reset-logging

Automatic merge from submit-queue (batch tested with PRs 65254, 64837, 64782, 64555, 64850). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Improve kubeadm reset output

**What this PR does / why we need it**: Improves logging when using `kubeadm reset` + external etcd
**Which issue(s) this PR fixes**: Fixes https://github.com/kubernetes/kubeadm/issues/859
pull/8/head
Kubernetes Submit Queue 2018-06-20 11:28:21 -07:00 committed by GitHub
commit 051ed101a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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