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.
how to redirect http to https on an openshift golang app?
how to add keycloak module to openshift wildfly cartridge?
openshift readiness probe error: /bin/sh can't access tty; job control turned off
How to store static contents outside WildFly installation and access them via HTTP?
How to redirect API server hosted on Openshift with Domain purchased from Godaddy
Making openshift origin docker containers persistent after reboot
Openshift pod priority
Unable to deploy app due to wrong permissions in some files
No Internet connection from Pods within openshift
Location of add-user.sh in Openshift
Openshift V2 - Custom Cartridge Permission denied opening port
How to group deployments under common template name in OpenShift console
Moving a docker-compose container to openshift V3
Openshift: Automatically update upstream images
Openshift : I am trying to run rhc setup on linux. Am getting username and password error message
how openshift ldap auth provider trust self-signed certificate without a rootca signed