You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right click on a Deployment in the Application Explorer and select "Open
Shell to Container" to open a terminal connection to the running container
in the 'OpenShift Terminal'.
Closesredhat-developer#3825
Signed-off-by: David Thompson <davthomp@redhat.com>
Right click on a Deployment in the Application Explorer and select "Open
Shell to Container" to open a terminal connection to the running container
in the 'OpenShift Terminal'.
Closesredhat-developer#3825
Signed-off-by: David Thompson <davthomp@redhat.com>
Right click on a Deployment in the Application Explorer and select "Open
Shell to Container" to open a terminal connection to the running container
in the 'OpenShift Terminal'.
Closes#3825
Signed-off-by: David Thompson <davthomp@redhat.com>
It would be nice to provide shell access to a container that's running on Kubernetes to help debug issues on the container.
Kubernetes tools like
k9s
provide this feature.The command to open a shell on a running pod is:
oc exec -it $POD_NAME -- /bin/sh
If you are running a deployment that has one replica, you can access the container with:
oc exec -it deployment/$DEPLOYMENT_NAME -- /bin/sh
The text was updated successfully, but these errors were encountered: