create_kubernetes_cluster
Create a Kubernetes cluster in Apache CloudStack by specifying its name, zone, Kubernetes version, and service offering for cluster nodes.
Instructions
Create a new Kubernetes cluster
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": {
"name": "<name>",
"zoneid": "<zoneid>",
"kubernetesversionid": "<kubernetesversionid>",
"serviceofferingid": "<serviceofferingid>"
},
"name": "create_kubernetes_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the Kubernetes cluster | |
| size | No | Number of worker nodes (control plane is always 1) | |
| zoneid | Yes | Zone ID where the cluster will be created | |
| account | No | Account name for the cluster | |
| keypair | No | SSH key pair name for node access | |
| domainid | No | Domain ID for the cluster | |
| networkid | No | Network ID for the cluster (optional for isolated network) | |
| description | No | Description of the Kubernetes cluster | |
| masternodes | No | Number of master/control plane nodes (default: 1) | |
| controlnodes | No | Number of control plane nodes (HA clusters) | |
| serviceofferingid | Yes | Service offering ID for cluster nodes | |
| kubernetesversionid | Yes | Kubernetes version ID to use for the cluster | |
| externalloadbalanceripaddress | No | External load balancer IP for control plane |