get_kubeconfig
Generates a kubeconfig file for a cloudspace's Kubernetes cluster so you can access it with kubectl; supports optional profile selection for multiple Rackspace Spot accounts.
Instructions
Generate a kubeconfig file for accessing a cloudspace's Kubernetes cluster with kubectl. Supports optional profile selection when multiple Rackspace Spot profiles are configured.
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": {
"cloudspaceName": "<cloudspaceName>"
},
"name": "get_kubeconfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Optional Rackspace Spot profile alias. Use this to select a configured token/account profile. | |
| cloudspaceName | Yes | Cloudspace name | |
| organizationName | No | Organization name (not namespace) Optional if the selected profile defines defaultOrganizationName. |