24_check_node_capacity.yml - Usage Guide
Purpose
Read-only from the first control-plane:
- Node conditions (Ready, MemoryPressure, DiskPressure, PIDPressure, NetworkUnavailable)
- Capacity: allocatable vs total pod requests/limits vs (if present) instant
kubectl topusage
How to run
ansible-playbook -i inventories/cagatayuresincom/hosts.ini playbooks/24_check_node_capacity.yml
Interpretation
| Finding | Meaning |
|---|---|
| Ready≠True / Pressure=True | Node is under pressure or unhealthy |
| High req% | Scheduling gets harder (new pods may not fit) |
| High use% | Instant load — look together with 15 |
| top n/a | metrics-server missing → 14/15 |
Script: playbooks/files/k8s_node_capacity_check.py