[jbosstools-issues] [JBoss JIRA] (JBIDE-26324) Port forwarding failed for JBoss Tools 4.6.0.Final
Andre Dietisheim (JIRA)
issues at jboss.org
Wed Aug 29 08:29:01 EDT 2018
[ https://issues.jboss.org/browse/JBIDE-26324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim updated JBIDE-26324:
-------------------------------------
Labels: debugging port_forwarding server_adapter (was: )
> Port forwarding failed for JBoss Tools 4.6.0.Final
> --------------------------------------------------
>
> Key: JBIDE-26324
> URL: https://issues.jboss.org/browse/JBIDE-26324
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.6.0.Final
> Environment: JBoss Tools 4.6.0.Final
> $ oc version
> oc v3.11.0-0.24.0
> kubernetes v1.11.0+d4cacc0
> features: Basic-Auth GSSAPI Kerberos SPNEGO
> Reporter: Junqi Zhao
> Assignee: Andre Dietisheim
> Labels: debugging, port_forwarding, server_adapter
> Fix For: 4.9.0.AM3
>
> Attachments: port_forward.png
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbosstools-issues
mailing list