Get Namespace Storage Topology
get_storage_topologyBuilds a namespace's persistent storage binding graph linking StorageClasses, PVs, PVCs, and Pods to diagnose Pending PVCs, missing StorageClasses, and volume mount issues.
Instructions
Build the persistent storage binding graph (StorageClass -> PersistentVolume -> PersistentVolumeClaim -> Pod) for one namespace.
Returns cluster_id, namespace, nodes (with id, label, kind, status, meta), and directed edges (source -> target) showing how StorageClasses provision PVs bound to PVCs mounted by Pods.
Use when diagnosing Pending PVCs, missing StorageClasses, or volume mount bindings. Prefer get_network_topology for traffic routing, get_namespace_map for full namespace dependencies (including ConfigMaps and Secrets), or get_namespace_resources for flat object tables.
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>",
"namespace": "<namespace>"
},
"name": "get_storage_topology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | Target Kubernetes namespace name (1-63 chars, e.g. 'default', 'prod'). Use `get_namespaces` to discover available namespaces on the cluster. | |
| 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 |
|---|---|---|---|
| edges | No | Directed storage-binding edges (`source` -> `target`). | |
| nodes | No | Graph vertices (`id`, `label`, `kind` in storageclass/pv/pvc/pod, `status`, `meta`). | |
| namespace | No | Namespace inspected. | |
| cluster_id | No | Cluster identifier queried. |