list_deployments
List Kubernetes deployments in a namespace with desired and available replica counts to verify rollout status and check if workloads meet the desired scale.
Instructions
List deployments in a namespace with desired vs available replica counts.
Usage Guidelines
Use this tool to verify rollout status and check whether workloads meet desired scale.
When replicas show 0 available, use
list_podsandget_cluster_eventsto locate the failure.
Behavioral Transparency
Read-only operation using AppsV1Api.
Returns name, desired replicas, and ready replica count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Target Kubernetes namespace to list deployments from. Defaults to 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |