check-pod-resources

Check Kubernetes pod CPU and memory usage within a namespace.

3|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/X-McKay/kubani --skill check-pod-resources
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-pod-resources
Source: https://github.com/X-McKay/kubani/tree/main/kubani/skills/k8s/diagnostic/check-pod-resources
Command: npx skills add https://github.com/X-McKay/kubani --skill check-pod-resources

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps identify pods within a Kubernetes cluster that are consuming excessive CPU or memory resources, which can lead to performance degradation or instability.

Core Features & Use Cases

  • Resource Monitoring: Retrieves real-time CPU and memory usage for pods in a specified namespace.
  • High Consumer Identification: Pinpoints specific pods that are exceeding resource thresholds.
  • Troubleshooting Aid: Provides data to quickly diagnose performance bottlenecks.

Quick Start

Check the resource usage for pods in the 'default' namespace to find any high consumers.

Frequently Asked Questions about check-pod-resources

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Kubernetes pod resource usage for CPU and memory?

To check Kubernetes pod resource usage, you can monitor real-time CPU and memory consumption within a specific namespace to identify pods exceeding their resource limits. This requires the metrics-server to be available for data retrieval.

Why does my Kubernetes pod have high CPU or memory consumption?

High CPU or memory consumption in a Kubernetes pod often indicates abnormal usage patterns or resource bottlenecks. Monitoring these metrics helps pinpoint specific pods exceeding thresholds, which can lead to cluster performance degradation or instability.

Do I need metrics-server to monitor pod resource usage?

Yes, you need metrics-server to monitor pod resource usage. The diagnostic process relies on the metrics-server to retrieve real-time CPU and memory data for pods within your Kubernetes cluster via the Kubernetes MCP server.

How do I find pods exceeding resource limits in a namespace?

To find pods exceeding resource limits in a namespace, retrieve real-time CPU and memory usage metrics and identify high consumers. This troubleshooting aid provides the necessary data to quickly diagnose performance bottlenecks in your cluster.

Can I diagnose Kubernetes performance bottlenecks using resource monitoring?

Yes, you can diagnose Kubernetes performance bottlenecks by monitoring pod resource usage. Identifying pods with abnormal CPU or memory consumption patterns provides the data needed to resolve cluster instability and performance degradation.