create_managed_cluster
Create and provision a new MANAGED Kubernetes cluster - the cloud provider operates the control plane. Providers: eks (AWS), aks (Azure), gke (GCP), doks (DigitalOcean), uks (UpCloud), ovh_mks (OVH), kapsule (Scaleway; only for organisations with Scaleway enabled), ankracloud_k8s (Ankra Cloud Kubernetes; only for organisations with Ankra Cloud enabled); this is the ONLY way to create clusters on AWS, Azure, or GCP. Requires a provider credential (optional for ankracloud_k8s, which uses the organisation's built-in Ankra Cloud credential), a location slug, and at least one node pool ({name, size, count}); use list_managed_k8s_options first to resolve locations, versions, and node sizes. Optional: kubernetes_version, ha (DOKS only), cluster_plan (UKS only), kapsule.private_network_id (required for Kapsule). The cluster begins provisioning at the provider immediately after confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ha | No | High-availability control plane. DOKS only. | |
| aks | No | Azure options, only with provider aks: resource group, network plugin, SKU tier, private cluster, VNet subnet and maintenance window. | |
| name | Yes | Cluster name. Must be unique within the organisation. | |
| kapsule | No | Kapsule-only networking options; required when provider is 'kapsule'. | |
| location | Yes | Provider location slug (region or zone, from list_managed_k8s_options). | |
| provider | Yes | Managed Kubernetes provider. | |
| node_pools | Yes | Worker node pools. Each entry creates `count` nodes of the given provider `size` slug. | |
| description | No | Optional cluster description. | |
| cluster_plan | No | Cluster plan slug. UKS only. | |
| credential_id | No | UUID of the provider credential. Get from list_credentials. Optional for ankracloud_k8s: omitted, the organisation's built-in Ankra Cloud credential is used. | |
| ankracloud_k8s | No | Ankra Cloud Kubernetes-only networking options; every member optional. | |
| kubernetes_version | No | Kubernetes version (from list_managed_k8s_options). If not specified, uses the provider default. |