-
Bug
-
Resolution: Duplicate
-
Major
-
4.6.0.Final
Port forwarding failed for JBoss Tools 4.6.0.Final
error is in the followings, the failed reason is flag "-p" is deprecated
An internal error occurred during: "Starting port forwarding...".
OpenShiftBinaryCapability process exited: Error: unknown shorthand flag: 'p' in -p
Usage:
oc port-forward TYPE/NAME [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N] [flags]
Examples:
- Listens on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod
oc port-forward mypod 5000 6000
- Listens on port 8888 locally, forwarding to 5000 in the pod
oc port-forward mypod 8888:5000
- Listens on a random port locally, forwarding to 5000 in the pod
oc port-forward mypod :5000
- Listens on a random port locally, forwarding to 5000 in the pod
oc port-forward mypod 0:5000
Options:
--pod-running-timeout=1m0s: The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running
Use "oc options" for a list of global command-line options (applies to all commands).
- is duplicated by
-
JBIDE-26251 Server adapter: cannot start in Debug using oc 3.11
- Closed