get_statefulsets
Fetch StatefulSet summary rows: name, namespace, replicas, ready and current counts, service name, age and the first unmet condition. Not-ready sets sort first. A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Specific StatefulSet name to fetch. | |
| namespace | No | Kubernetes namespace to list. A list needs either this or all_namespaces=true; a named read (name) needs neither. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| all_namespaces | No | Set true to list every namespace on the cluster deliberately. Omit it and pass namespace to list one namespace; a list with neither is refused (error_code scope_required). |