Openshift - Troubleshooting: Basics
Commands
Get Cluster version:
Get Cluster ID:
Create dump file for RH Support:
Start debug session on a node:
Display requests counts by API:
oc get apirequestcounts
# Only deprecated
oc get apirequestcounts -o jsonpath='{range .items[?(@.status.removedInRelease!="")]}{.status.requestCount}{"\t"}{.status.removedInRelease}{"\t"}{.metadata.name}{"\n"}{end}'
Tips
Get pod count by node:
Get all nodes performances (CPU/RAM):