mirror of https://github.com/k3s-io/k3s
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/859pull/8/head
commit
051ed101a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue