-
Bug
-
Resolution: Done
-
Minor
-
4.6.0.AM3
-
devex #154 September 2018, devex #155 September 2018
-
5
steps:
Screencast: https://youtu.be/XMA--S9zj6s
- EXEC: create an application (via ex. nodejs-mongo-persistent template)
- ASSERT: pod for service is running
- EXEC: select pod and pick "Port Forwarding..." and start the forwarding
- ASSERT: forwarding is running
- EXEC: verify on the cmd-line that the forwarding is running
$ ps ax | grep oc 47793 ?? S 0:00.25 /Users/adietish/Downloads/oc_341 port-forward --token=XXXXX --server=https://open.paas.redhat.com --insecure-skip-tls-verify=true -n jbide25000 -p nodejs-mongo-persistent-7-rsmlr 5858:5858 8080:8080
- EXEC: in Explorer: select the pod for your service and pick "Delete"
- ASSERT: pod gets deleted and recreated
- EXEC: verify on the cmd-line that the forwarding is running
$ ps ax | grep oc 47793 ?? S 0:00.25 /Users/adietish/Downloads/oc_341 port-forward --token=XXXXX --server=https://open.paas.redhat.com --insecure-skip-tls-verify=true -n jbide25000 -p nodejs-mongo-persistent-7-rsmlr 5858:5858 8080:8080
Result:
The port forwarding is still running.
In Eclipse there's no way for you to see this since you have to select the new pod and pick "Port Forwarding..." on this new pod. It'll then tell you that the port forwarding is NOT running, since we're asking about port-forwarding for the new pod (not the old one that was killed).
PS. it looks like there's a timeout somewhere, oc stops port-forwarding at some point (many minutes later) and the process disappears.
- relates to
-
JBIDE-26160 Server Adapter: erroneously stays in [Debugging] when you kill the pod
- Closed