How the oc debug command works in OpenShift

How the oc debug command works in OpenShift.

Try a new way to connect to and debug your Red Hat OpenShift Container Platform cluster nodes. Kedar Vijay KulkarniWed 2172021 at 1240am.

Image by Dr StClaire from Pixabay.

If you have used relatively recent versions of OpenShift you must have come across the oc debug command or you can check this man page. One of the interesting things about the new OpenShift is that it suggests not to use SSH directly you can see this in sshdconfig on the nodes because they have PermitRootLogin no set on them. So if you were to run oc debug nodenodename it will create a pod for you and drop you in the shell TTY of this pod.

Topics Linux OpenshiftRead More at Enable Sysadmin .

The post How the oc debug command works in OpenShift appeared first on


Read Full Post

News Link:
RSS Link:

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.