port-forward

    Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in a pod selected by the deployment

      Listen on port 8888 on localhost and selected IP, forwarding to 5000 in the pod

      Forward one or more local ports to a pod.

      Use resource type/name such as deployment/mydeployment to select a pod. Resource type defaults to ‘pod’ if omitted.

      Flags