Created
December 3, 2020 02:18
-
-
Save luckylittle/77319645f916e2614d8b4680712f6012 to your computer and use it in GitHub Desktop.
Probably the most important command for OpenShift troubleshooting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oc get events --sort-by='.lastTimestamp' --all-namespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another useful commands for troubleshooting:
oc get pods -A | grep -v "Running\|Completed\|Terminated\|Succeeded"
- shows only problematics podsoc get clusterversion && echo && oc get co && echo && oc get nodes -o wide
- general cluster status/health