openshift-cluster-status¶
A task to gather and report comprehensive status information about an OpenShift cluster
This task collects and displays comprehensive status information about an OpenShift cluster, including node health, resource usage, and general cluster health indicators.
Add-on content reports its own status through
openshift/cluster-status-flexiflow:
the openshift-cluster-status blueprint runs every task listed there after this one.
Advanced Cluster Management status, for example, comes from the
openshift-cluster-acm-status task of the openshift-cluster-acm content bundle.
Requirements¶
Cluster Access¶
- Valid kubeconfig configuration
- Administrative access to cluster
- Cluster metrics enabled
Usage¶
Basic Status Check¶
# Apply status task
drpcli machines tasks add <machine-uuid> openshift-cluster-status
# Additional status commands
oc get nodes
oc get clusteroperators
Status Information¶
The task reports on: 1. General cluster information: - Image usage and storage - Top image consumers - Node resource utilization
Objects that Reference openshift-cluster-status¶
- blueprints openshift-cluster-status in Openshift as part of Tasks (declared)
Objects used by openshift-cluster-status¶
- templates openshift-cluster-status.sh.tmpl in field Templates[0].ID as value openshift-cluster-status.sh.tmpl