cluster-status
检查Kubernetes集群的健康状况和状态。在检查节点、Pod、部署或整体集群健康时使用。
📖 中文导读:检查Kubernetes集群的健康状况和状态。在检查节点、Pod、部署或整体集群健康时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: cluster-status description: Check Kubernetes cluster health and status. Use when checking nodes, pods, deployments, or overall cluster health.
Cluster Status Check
Check the health and status of the Kubernetes cluster.
Instructions
Quick Status Overview
KUBECONFIG=/home/al/.kube/config
echo "=== Nodes ==="
kubectl get nodes -o wide
echo ""
echo "=== AI Agents Namespace ==="
kubectl get pods -n ai-agents
echo ""
echo "=== vLLM Namespace ==="
kubectl get pods -n vllm
echo ""
echo "=== Temporal Namespace ==="
kubectl get pods -n temporal
Detailed Node Health
KUBECONFIG=/home/al/.kube/config
# Node resource usage
kubectl top nodes
# Node conditions
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.status.conditions[-1].type}={.status.conditions[-1].status}{"\n"}{end}'
Flux GitOps Status
KUBECONFIG=/home/al/.kube/config flux get all -A
Recent Events
KUBECONFIG=/home/al/.kube/config kubectl get events --sort-by='.lastTimestamp' -A | tail -20
Problem Pods
KUBECONFIG=/home/al/.kube/config kubectl get pods -A | grep -v Running | grep -v Completed
Health Indicators
- All nodes should be
Ready - Critical pods should be
Running - No pending or failed pods
- Flux reconciliation should be successful
Common Issues
- ImagePullBackOff: Image not pushed to registry
- CrashLoopBackOff: Application crash, check logs
- Pending: Insufficient resources or scheduling issues
- NotReady nodes: Node health issue, check kubelet