create_ovh_cluster
Create and provision a new Kubernetes cluster on OVH Cloud. Requires an OVH API credential, SSH key credential, and a region. The cluster will begin provisioning immediately after creation. Use list_provider_credentials to find credential IDs and list_instance_types for flavor sizes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cluster name. Must be unique within the organisation. | |
| region | Yes | OVH region, new-style name (e.g., 'EU-WEST-PAR', 'EU-SOUTH-MIL'). Legacy names like 'GRA11'/'SBG5' are rejected by current OVH Public Cloud projects. | |
| description | No | Optional cluster description. | |
| distribution | No | Kubernetes distribution. Default: 'kubeadm' (vanilla upstream Kubernetes with Cilium). 'k3s' is the lightweight alternative. | |
| worker_count | No | Number of worker nodes. Default: 1. | |
| credential_id | Yes | UUID of the OVH API credential. Get from list_provider_credentials with provider='ovh'. | |
| worker_flavor_id | No | OVH flavor for worker nodes. Default: 'b3-16'. | |
| gateway_flavor_id | No | OVH flavor for the gateway VM. Default: 'c3-4'. | |
| availability_zones | No | 3-AZ regions only: spread the cluster across these availability zones (e.g. ['eu-west-par-a','eu-west-par-b','eu-west-par-c']). Control planes and etcd are distributed per role, workers per node group. Omit to let OVH place every instance, which in practice puts the whole cluster in one zone. Spreading across more than one zone requires at least 3 control planes for etcd quorum. | |
| kubernetes_version | No | Version for the chosen distribution. With the default distribution (kubeadm) pass a plain upstream tag such as v1.36.4, from list_kubernetes_versions with engine 'kubeadm'. With distribution 'k3s' pass a k3s build such as v1.35.7+k3s1, from engine 'k3s' (a bare patch resolves to its newest +k3sN build). A +k3sN build without distribution 'k3s' is refused. Omit it to install the catalogue's stable version for the distribution. | |
| control_plane_count | No | Number of control plane nodes. Default: 1. | |
| ssh_key_credential_id | Yes | UUID of the SSH key credential. Get from list_provider_credentials with provider='ssh-key'. | |
| control_plane_flavor_id | No | OVH flavor for control plane nodes. Default: 'b3-16'. |