How to ssh a openshift3 pod if replicas are more than one?
if I have multiple replicas of my web service, how can I ssh and investigate a single pod?
so you have to list the pods and do oc rsh to the pod name you want to : $ oc project my-project Now using project "my-project" on server "https://origin.my-company.com:8443". $ oc get po my-pod-72-3eojp 1/1 Running 0 8d my-pod-72-5bx0x 1/1 Running 0 8d my-pod-72-8fgce 1/1 Running 0 8d my-pod-72-c1twn 1/1 Running 6 8d my-pod-72-kfcev 1/1 Running 1 8d my-pod-72-lc39y 1/1 Running 10 8d my-pod-72-s9664 1/1 Running 11 8d my-pod-72-yt05k 1/1 Running 10 8d #pick one and rsh into it: $ oc rsh my-pod-72-s9664 sh-4.2$ Now you have a shell opened in a pod of your replicated service. Hope it helped.
perl on php application on openshift
Developing OpenShift cartridges that need large binaries
Openshift not displaying application at given URL
How to use naked GoDaddy domain with OpenShift hosting? [closed]
Why is my app constantly pinged?
Not able to create Apps In Openshift free plan?
How to change Openshift jenkins java version?
Filter messages from rhc tail
Issue in Restart the app in open-shift
How to install ioncube Loader in OpenShift with WorkFlow Guide
OpenShift idle state issue
Multiple HAProxy instances on OpenShift
Remote Port Forwarding on OpenShift
error rhc app delete 500 error code
TimeOut Error in Openshift
Create app with REST API