| name | cluster-resource-health |
| description | Check Kubernetes cluster health including pod status, node conditions, resource utilization, and pending alerts across EKS clusters. Use when monitoring infrastructure health, investigating capacity issues, or performing cluster audits. |
Cluster Resource Health
Query AWS EKS clusters for node health, pod status, resource utilization, and alerts to produce a cluster health dashboard.
Instructions
Phase 1: Cluster Overview (AWS Agent)
- List EKS clusters and their status:
- Cluster name, version, and status
- Node group configurations (instance types, desired/min/max counts)
- Current node count and readiness
- Check Kubernetes version:
- Current version vs. latest available
- End-of-support date for current version
Phase 2: Node Health
- Inspect node conditions using kubectl via the AWS agent:
- Ready, MemoryPressure, DiskPressure, PIDPressure, NetworkUnavailable
- Node allocatable vs. requested resources
- Unschedulable nodes (cordoned/drained)
- Resource utilization per node:
- CPU requested vs. allocatable (%)
- Memory requested vs. allocatable (%)
- Pod count vs. pod limit
Phase 3: Pod Health
- Identify problematic pods:
- CrashLoopBackOff, ImagePullBackOff, OOMKilled
- Pending pods (unable to schedule)
- Pods with high restart counts (>5)
- Evicted pods
- Namespace-level summary:
- Pods running, pending, failed per namespace
- Resource quotas and limit ranges