list_hosted_clusters
List HyperShift HostedClusters on the hub, optionally scoped to a namespace. Clearly indicates when control planes are hosted on a separate management cluster.
Instructions
List HyperShift HostedClusters, when the hub is the HCP hosting cluster.
Args: namespace: limit to one namespace; empty lists across all namespaces.
HostedCluster objects live on whichever cluster hosts the control plane. If your HCPs are hosted on a separate management cluster, they are not on this hub - this reports that clearly, and the spokes still appear via list_clusters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |