mirror of https://github.com/k3s-io/k3s
Improve kubeadm reset output
Let the operator know they should reset etcd manually when an external etcd was usedpull/8/head
parent
7a9c05bd68
commit
0bfcb5cb66
|
@ -164,6 +164,7 @@ func (r *Reset) Run(out io.Writer) error {
|
||||||
dirsToClean = append(dirsToClean, "/var/lib/etcd")
|
dirsToClean = append(dirsToClean, "/var/lib/etcd")
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("[reset] no etcd manifest found in %q. Assuming external etcd\n", etcdManifestPath)
|
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
|
// Then clean contents from the stateful kubelet, etcd and cni directories
|
||||||
|
|
Loading…
Reference in New Issue