Why OVHcloud MKS with Ankra
- Free or standard control plane - pick the OVHcloud control-plane plan that fits the workload.
- Private networking and anti-affinity - through the API, attach a private network and spread nodes with anti-affinity where supported.
- Live pricing and options - regions, Kubernetes versions, and node flavours are fetched live with your OVHcloud credential.
Before you start
- OVHcloud application keys with a Public Cloud project (
project_id), stored in Ankra. See OVH API Credentials. If you have none, the create form shows Add an OVHcloud Managed Kubernetes credential first with an Add a credential button. - A payment method on the organisation. Without one the review step warns “A payment method is required to create this cluster.” and the create is refused - see Billing.
- A role with the
clusters.createpermission. Without it Add a cluster reads “Your role does not allow creating clusters.”
Creating an OVHcloud MKS cluster
- Portal
- CLI
- API
The portal takes the control-plane plan but not the private network, anti-affinity, monthly billing or update policy. Set those through the API.
1
Choose OVHcloud, run by OVHcloud
Open Infrastructure → Clusters → Add a cluster (
/next/clusters/new). Choose OVHcloud as the provider, then Provider managed under Who runs Kubernetes on OVHcloud?. The page now reads Add an OVHcloud Managed Kubernetes cluster.2
Name and purpose
Enter a Cluster name (at most 32 characters; OVHcloud allows letters, digits and hyphens) and answer What will this cluster run?. The answer is required before you can review.
3
Where it runs
Pick the OVHcloud Managed Kubernetes credential and a Region (for example
GRA9). Regions load live from OVHcloud. When the platform prices every plan, choose the Control plane plan: Free (the default) or a paid plan with its monthly price. “OVHcloud bills the Standard plan’s control plane by the hour; the Free plan’s control plane costs nothing.”4
Worker nodes
Each node group has a Group name, a number of Nodes, a Size for the group (flavours with live pricing) and Scale this group automatically with At least and At most. Add a node group adds another; Placement, labels and taints holds node labels and taints.
5
Kubernetes and Git
Pick a Kubernetes version or keep Provider default. Under Cluster configuration in Git, optionally choose a Git connection, Repository and Branch.
6
Review and create
Click Review cluster, check the settings and the Checks before creating, then click Create cluster. Ankra provisions the cluster, retrieves the kubeconfig and installs the Ankra agent. The page reads Your cluster is ready when it is done.
OVHcloud MKS options
Verify
The create progress view follows the control plane, the node pools, kubeconfig retrieval and the Ankra Agent install. The cluster shows Online once the agent has connected. Then pointkubectl at it through Ankra - this needs a Cluster Access grant - and check that every node is Ready:
Day-2 operations
Node pools, upgrades, and deletion work from the portal, the CLI or the API. The CLI examples use--provider ovh_mks:
ankra cluster managed node-pool update --autoscaling --autoscaling-min <n> --autoscaling-max <n>, or with the PATCH .../node-pools/{name} endpoint. See Managed Kubernetes - day-2 operations for the shared mechanics.
Importing an existing MKS cluster
Already running OVHcloud MKS? Discover clusters in your Public Cloud project and adopt them into Ankra without touching them. Discovery and import run from the portal (Infrastructure → Clusters → Connect a cluster → Find a managed cluster), the CLI (ankra cluster managed discover --provider ovh_mks, then ankra cluster managed import --provider ovh_mks) or the API - see Managed Kubernetes - importing existing clusters.