Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.07 KB

cli-administrator-cluster-management.adoc

File metadata and controls

59 lines (43 loc) · 1.07 KB

Cluster management CLI commands

inspect

Gather debugging information for a particular resource.

Note

This command is experimental and might change without notice.

Example: Collect debugging data for the OpenShift API server cluster Operator
$ oc adm inspect clusteroperator/openshift-apiserver

must-gather

Bulk collect data about the current state of your cluster to debug issues.

Note

This command is experimental and might change without notice.

Example: Gather debugging information
$ oc adm must-gather

top

Show usage statistics of resources on the server.

Example: Show CPU and memory usage for Pods
$ oc adm top pods
Example: Show usage statistics for images
$ oc adm top images