From 061b039c5d39b1f2a4fd20db5354311060106e61 Mon Sep 17 00:00:00 2001 From: Jason-ZW Date: Mon, 24 Aug 2020 16:26:40 +0800 Subject: [PATCH] feat(alibaba): add more prompt info Signed-off-by: Jason-ZW --- pkg/providers/alibaba/alibaba.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/providers/alibaba/alibaba.go b/pkg/providers/alibaba/alibaba.go index fcea5ccf..acfbba63 100644 --- a/pkg/providers/alibaba/alibaba.go +++ b/pkg/providers/alibaba/alibaba.go @@ -81,7 +81,8 @@ func (p *Alibaba) CreateK3sCluster(ssh *types.SSH) error { defer func() { s.Stop() if p.UI != "none" { - fmt.Printf("K3s UI %s URL: https://%s:8999", p.UI, p.Status.MasterNodes[0].PublicIPAddress[0]) + fmt.Printf("K3s UI %s URL: https://%s:8999\n", p.UI, p.Status.MasterNodes[0].PublicIPAddress[0]) + fmt.Printf("Use `autok3s kubectl get pods -A` get UI status\n") } }()