mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
add vela status --endpoint into the tips for vela up (#3433)
Co-authored-by: zhangshukun <zhangshukun.7@bytedance.com>
This commit is contained in:
co-authored by
zhangshukun
parent
20583e089a
commit
3af893950e
@@ -428,10 +428,8 @@ func Info(app *corev1beta1.Application) string {
|
||||
fmt.Sprintf(" Port forward: vela port-forward %s\n", appName) +
|
||||
fmt.Sprintf(" SSH: vela exec %s\n", appName) +
|
||||
fmt.Sprintf(" Logging: vela logs %s\n", appName) +
|
||||
fmt.Sprintf(" App status: vela status %s\n", appName)
|
||||
for _, comp := range app.Spec.Components {
|
||||
appUpMessage += fmt.Sprintf(" Service status: vela status %s --svc %s\n", appName, comp.Name)
|
||||
}
|
||||
fmt.Sprintf(" App status: vela status %s\n", appName) +
|
||||
fmt.Sprintf(" Endpoint: vela status %s\n --endpoint", appName)
|
||||
return appUpMessage
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user