patch-reset

When we reset cluster, the program does not automatically delete it ($HOME/.kube/config).
We should prompt the user how to checkt
k3s-v1.15.3
MengZeLee 2019-04-03 00:16:59 +08:00
parent 51db0fe21a
commit 52d8f5e19b
1 changed files with 3 additions and 1 deletions

View File

@ -217,7 +217,9 @@ func (r *Reset) Run(out io.Writer, client clientset.Interface, cfg *kubeadmapi.I
If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar) If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar)
to reset your system's IPVS tables. to reset your system's IPVS tables.
The reset process does not clean your kubeconfig files and you must remove them manually.
Please, check the contents of the $HOME/.kube/config file.
`) `)
fmt.Print(msg) fmt.Print(msg)