Skip to main content
Reference material for OVH clusters.

Cluster Configuration Options

ParameterDefaultDescription
namerequiredUnique cluster name
credential_idrequiredOVH API credential ID
ssh_key_credential_idrequiredSSH key credential ID
regionrequiredOVH Cloud region
network_vlan_id0VLAN ID for the private network
subnet_cidr10.0.1.0/24Subnet CIDR range
dhcp_start10.0.1.100DHCP allocation range start
dhcp_end10.0.1.200DHCP allocation range end
gateway_flavor_idb2-7Instance flavor for the gateway
control_plane_count1Number of control plane nodes
control_plane_flavor_idb2-15Instance flavor for control planes
worker_count1Number of worker nodes (legacy, use node_groups instead)
worker_flavor_idb2-15Instance flavor for workers (legacy, use node_groups instead)
node_groupsArray of node group definitions (see Node Groups)
distributionk3sKubernetes distribution
kubernetes_versionlatestKubernetes version (optional)

OVH Cloud Regions

RegionLocation
GRA7Gravelines, France
GRA9Gravelines, France
GRA11Gravelines, France
SBG5Strasbourg, France
BHS5Beauharnois, Canada
WAW1Warsaw, Poland
DE1Frankfurt, Germany
UK1London, United Kingdom
SGP1Singapore
SYD1Sydney, Australia
The regions enabled on each OVH project differ. A region that is not enabled on the project’s private network fails the reconcile during network setup. List the regions a credential can actually deploy in with ankra cluster ovh regions --credential-id <credential_id> before creating a cluster.

OVH Instance Flavors

FlavorvCPUsRAMDescription
b2-727 GBSuitable for gateways
b2-15415 GBGeneral purpose, good for control planes and workers
b2-30830 GBHigher performance workloads
b2-601660 GBMemory-intensive workloads
Available flavors vary by region. Check the OVH Cloud catalog for your region’s offerings.

Node Group API Reference

EndpointMethodDescription
/api/v1/clusters/ovh/{id}/node-groupsGETList all node groups
/api/v1/clusters/ovh/{id}/node-groupsPOSTAdd a node group
/api/v1/clusters/ovh/{id}/node-groups/{name}/scalePUTScale a node group (0–100)
/api/v1/clusters/ovh/{id}/node-groups/{name}/instance-typePUTChange instance flavor
/api/v1/clusters/ovh/{id}/node-groups/{name}/labelsPUTUpdate labels
/api/v1/clusters/ovh/{id}/node-groups/{name}/taintsPUTUpdate taints
/api/v1/clusters/ovh/{id}/node-groups/{name}DELETEDelete a node group