Get Cluster Node-to-Pod Placement Map
get_cluster_workload_mapMap pod placement across cluster nodes with per-node CPU, memory, pod capacity, and namespace breakdown to identify unbalanced scheduling, hot nodes, or where namespace pods run.
Instructions
Map pod placement across every cluster node with per-node CPU, memory, pod capacity, and namespace breakdown.
Returns cluster_id, summary (node, ready, scheduled pod, and namespace counts), namespaces legend, and per-node nodes cards with live kubectl top nodes utilization (or conservative fallback if metrics-server is unavailable). Excludes kube-system pods to highlight user workloads.
Use to spot unbalanced scheduling, hot nodes, or where a namespace's pods are running across nodes. Prefer get_nodes for lightweight node inventory without pod placement, or get_namespace_map for intra-namespace resource dependencies.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>"
},
"name": "get_cluster_workload_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | No | Per-node placement cards with status, machine_type, zone, node_pool, cpu/memory utilization, pods_capacity, and per-namespace pod lists. | |
| summary | No | Cluster placement summary: total nodes, ready nodes, pods_scheduled (excluding kube-system), and namespace count. | |
| cluster_id | No | Cluster identifier queried. | |
| namespaces | No | Active non-kube-system namespaces with display color legend. |