Troubleshooting Kubernetes node resource issues
10/13/2024
This post introduces a practical approach to diagnosing and fixing Kubernetes node resource exhaustion. It provides specific `kubectl` commands for identifying nodes with high memory usage and for inspecting individual node resource allocation. The core contribution is the methodology for pinpointing problematic pods, adjusting their resource requests/limits, and ensuring correct node placement via `nodeSelector`. It also offers cleanup commands for pods, services, and deployments.