get_resource_usage
Compare real-time CPU and memory usage of pods against their resource requests and limits to identify throttled pods, near-limit memory, or OOMKill candidates.
Instructions
Returns real-time CPU and memory usage for pods, compared against their resource requests and limits. Requires metrics-server to be running in the cluster (enable via: minikube addons enable metrics-server). Use to identify pods that are throttled, near their memory limit, or OOMKill candidates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| podName | No | Optional: get usage for a single pod only. | |
| namespace | No | Namespace to query. Defaults to "default". |