بنقرة واحدة
cluster-health
Check the overall health of an OpenShift cluster. Use when the user asks about cluster status, node health, capacity, or wants a quick health overview.
القائمة
Check the overall health of an OpenShift cluster. Use when the user asks about cluster status, node health, capacity, or wants a quick health overview.
OpenShift Lightspeed CLI — AI-powered assistant for OpenShift from your terminal. Connects to OpenShift Lightspeed Service (OLS) REST API and provides interactive chat, streaming responses, cluster-aware tools, and session management. Use when working with OpenShift clusters, Kubernetes operations, or needing AI-powered cluster assistance from the command line.
Guide deploying an application to OpenShift. Use when the user wants to deploy a new app, create a deployment, set up services and routes. Covers S2I, Docker, Helm, and raw YAML approaches.
Run a security audit on an OpenShift namespace or cluster. Use when the user asks about security posture, RBAC, SCCs, network policies, or compliance.
Troubleshoot a problematic pod in OpenShift. Use when a pod is CrashLooping, not ready, failing health checks, or showing errors. Walks through events, logs, describe, and common failure patterns.
| name | cluster-health |
| description | Check the overall health of an OpenShift cluster. Use when the user asks about cluster status, node health, capacity, or wants a quick health overview. |
| metadata | {"author":"kcns008","version":"0.1.0"} |
Node status
cluster_status: (no args for full cluster)
Check for warnings
oc get events -A --field-selector type=Warning --sort-by='.lastTimestamp'
Check cluster operators (OpenShift only)
oc get clusteroperators
oc get co -o jsonpath='{range .items[?(@.status.conditions[?(@.type=="Available")].status!="True")]}{.metadata.name}{"\n"}{end}'
Check alerts (if monitoring stack available)
oc get alerts -n openshift-monitoring
Resource capacity
oc top nodes
oc get pods -A --field-selector=status.phase!=Running,status.phase!=Succeeded
Summarize health