$ oc get nodes
Review cluster node health status, resource consumption statistics, and node logs. Additionally, query kubelet
status on individual nodes.
You have access to the cluster as a user with the dedicated-admin
role.
You have installed the OpenShift CLI (oc
).
List the name, status, and role for all nodes in the cluster:
$ oc get nodes
Summarize CPU and memory usage for each node within the cluster:
$ oc adm top nodes
Summarize CPU and memory usage for a specific node:
$ oc adm top node my-node