Version: v1.0

端口转发

当你的 web 服务 Application 已经被部署就可以通过 port-forward 来本地访问。

  1. $ vela ls
  2. NAME APP WORKLOAD TRAITS STATUS CREATED-TIME
  3. express-server testapp webservice Deployed 2020-09-18 22:42:04 +0800 CST

它将直接为你打开浏览器。

  1. $ vela port-forward testapp
  2. Forwarding from 127.0.0.1:8080 -> 80
  3. Forwarding from [::1]:8080 -> 80
  4. Forward successfully! Opening browser ...
  5. Handling connection for 8080
  6. Handling connection for 8080