Add default path prompt for deinit to delete etcd data

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
This commit is contained in:
wuzhongjian 2022-09-02 09:10:29 +08:00
parent b0a9868ba0
commit 9982852b59
1 changed files with 2 additions and 1 deletions

View File

@ -297,6 +297,7 @@ func (o *CommandDeInitOption) Run() error {
}
fmt.Println("remove Karmada from Kubernetes successfully.\n" +
"\ndeinit will not delete etcd data, if the etcd data is persistent, please delete it yourself.")
"\ndeinit will not delete etcd data, if the etcd data is persistent, please delete it yourself." +
"\nthe default persistence path for etcd data is '/var/lib/karmada-etcd'")
return nil
}