list_pods
List Kubernetes pods in a namespace with their lifecycle phase and IP address to identify running workloads, crash loops, or verify pod readiness.
Instructions
List pods within a specified namespace along with their lifecycle phase and IP address.
Usage Guidelines
Use this tool when identifying running workloads, crash loops, or verifying pod readiness.
If troubleshooting a failing pod, pass its name to
get_pod_logsor callget_cluster_events.
Behavioral Transparency
Read-only operation.
Omits internal container state arrays; highlights high-level phase (Running, Pending, Failed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Target Kubernetes namespace (e.g. 'kube-system', 'production', or 'default'). | default |
| label_selector | No | Kubernetes label query expression to filter pods (e.g. 'app=frontend' or 'tier=backend'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |