import_spoke_cluster
Import a spoke cluster into an ACM hub by creating the required resources, fetching the import secret, applying manifests to the spoke, and verifying the cluster reaches Joined/Available status.
Instructions
Import a spoke into an ACM hub: create ManagedCluster + KlusterletAddonConfig, fetch the generated import Secret, apply manifests to the spoke, poll until Joined/Available.
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": {
"hub_kubeconfig": "<hub_kubeconfig>",
"spoke_kubeconfig": "<spoke_kubeconfig>",
"cluster_name": "<cluster_name>"
},
"name": "import_spoke_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_name | Yes | ||
| hub_kubeconfig | Yes | ||
| timeout_seconds | No | ||
| spoke_kubeconfig | Yes |