diff --git a/cmd/uncloud/service/run.go b/cmd/uncloud/service/run.go index d2f8e7e7..7df49f21 100644 --- a/cmd/uncloud/service/run.go +++ b/cmd/uncloud/service/run.go @@ -86,9 +86,10 @@ func NewRunCommand() *cobra.Command { "Supported protocols: tcp, udp, http, https (default is tcp). If a hostname for http(s) port is not specified\n"+ "and a cluster domain is reserved, service-name.cluster-domain will be used as the hostname.\n"+ "Examples:\n"+ - " -p 8080/https Publish port 8080 as HTTPS via load balancer with default service-name.cluster-domain hostname\n"+ - " -p app.example.com:8080/https Publish port 8080 as HTTPS via load balancer with custom hostname\n"+ - " -p 9000:8080 Publish port 8080 as TCP port 9000 via load balancer\n"+ + " -p 8080/https Publish port 8080 as HTTPS via reverse proxy with default service-name.cluster-domain hostname\n"+ + " -p app.example.com:8080/https Publish port 8080 as HTTPS via reverse proxy with custom hostname\n"+ + // TODO: add support for publishing L4 tcp/udp ports. + //" -p 9000:8080 Publish port 8080 as TCP port 9000 via reverse proxy\n"+ " -p 53:5353/udp@host Bind UDP port 5353 to host port 53") cmd.Flags().StringVar(&opts.pull, "pull", api.PullPolicyMissing, fmt.Sprintf("Pull image from the registry before running service containers ('%s', '%s', '%s').",