vela port-forward

Forward local ports to container/service port of vela application.

Synopsis

Forward local ports to container/service port of vela application.

  1. vela port-forward APP_NAME [flags]

Examples

  1. port-forward APP_NAME [options] [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N]

Options

  1. --address strings Addresses to listen on (comma separated). Only accepts IP addresses or localhost as a value. When localhost is supplied, vela will try to bind on both 127.0.0.1 and ::1 and will fail if neither of these addresses are available to bind. (default [localhost])
  2. --cluster string filter the pod by the cluster name
  3. -c, --component string filter the pod by the component name
  4. -e, --env string specify environment name for application
  5. -h, --help help for port-forward
  6. -n, --namespace string specify the Kubernetes namespace to use
  7. --pod-running-timeout duration The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running (default 1m0s)
  8. --resource-name string specify the resource name
  9. -t, --resource-type string specify the resource type, support the service, and pod

Options inherited from parent commands

  1. -y, --yes Assume yes for all user prompts

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.