get_pod_metrics
Retrieve a Kubernetes pod's CPU, memory, restart count, or network traffic metrics by specifying pod name, namespace, and metric type.
Instructions
Get metrics for a Kubernetes pod (CPU, memory, restarts, network).
Args: pod_name: Pod name or regex pattern namespace: Kubernetes namespace metric_type: One of: cpu, memory, restarts, network_rx, network_tx
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod_name | Yes | ||
| namespace | No | default | |
| metric_type | No | cpu |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |