Wednesday, February 16, 2022

Debug node in openshift


$ oc get nodes

<node details >



 $oc debug node/ip-<info >

Starting pod/ip-...

To use host binaries, run `chroot /host`


Pod IP: 10.0.129.43

If you don't see a command prompt, try pressing enter.

sh-4.4# 

sh-4.4# 

sh-4.4# chroot /host

sh-4.4# cat /etc/containers/registries.conf 

unqualified-search-registries = [ 'docker.io']

sh-4.4# 

sh-4.4# 

sh-4.4# exit

exit

sh-4.4# exit


Removing debug pod ...


No comments:

Post a Comment