Managed Kubernetes Service
Creating a Kubernetes cluster
Open Managed Kubernetes Service
In the OVHcloud Control Panel, go to your Public Cloud project. In the left menu under Containers & Orchestration, click Managed Kubernetes Service, then click Create a cluster.
Select a region
Choose the region where the cluster will be deployed. The region cannot be changed after cluster creation.
Choose the Kubernetes version
Select the minor version of Kubernetes. Always choose the latest stable version unless you have a specific compatibility requirement.
OVHcloud follows a lifecycle policy for supported Kubernetes versions. Refer to the End of life / end of support page before selecting an older version.
Configure private networking (optional)
To isolate your cluster from the public Internet or connect it to other OVHcloud resources, attach it to an existing vRack private network. The private network ID cannot be changed after creation.
Configure the default node pool
A node pool is a group of worker nodes sharing the same configuration (flavor, billing mode, autoscaling settings).
- Choose a node flavor (e.g.
b2-7for 2 vCPUs and 7 GB RAM). - Set the initial number of nodes.
- Optionally enable Autoscaling and set minimum and maximum node counts.
- Choose hourly or monthly billing for the nodes. You cannot change from monthly to hourly after creation.
Enable anti-affinity (optional)
Anti-affinity ensures that nodes in the pool are launched on different physical hypervisors, improving fault tolerance. Anti-affinity node pools are limited to 5 nodes.
Configuring kubectl
After the cluster is created, download the kubeconfig file and configurekubectl to connect to it.
- In the Control Panel, click your cluster, then click kubeconfig to download the configuration file.
- Set the
KUBECONFIGenvironment variable to point to it:
Deploying workloads
Node pool management
Node pools let you mix different node flavors and configurations in the same cluster. Common patterns:- A general-purpose pool for most workloads
- A GPU pool for AI/ML workloads
- A high-memory pool for in-memory databases
Autoscaling
Enable the Cluster Autoscaler to automatically add nodes when pods cannot be scheduled due to insufficient resources, and remove nodes when they are underutilised. To enable autoscaling on a node pool:- In the Control Panel, open the cluster and go to the Node pools tab.
- Edit the pool and enable Autoscaling.
- Set the minimum and maximum number of nodes.
Upgrading Kubernetes versions
OVHcloud announces new Kubernetes versions and deprecation timelines on the lifecycle policy page. To upgrade your cluster:- In the Control Panel, open your cluster. An upgrade notification appears when a new version is available.
- Click Upgrade and confirm.
- OVHcloud performs a rolling upgrade of the control plane, followed by a rolling drain and replacement of each node pool.
Managed Private Registry
Managed Private Registry provides an authenticated Harbor-based container registry where you store and distribute Docker images and Helm charts.Creating a registry
- In the Control Panel, under Containers & Orchestration, click Managed Private Registry, then Create a private registry.
- Select a region.
- Enter a registry name.
- Choose a plan:
- S — basic registry
- M — registry with Trivy vulnerability scanning
- L — registry with Trivy vulnerability scanning and higher storage limits
- Wait for the status to show OK, then click
...> Generate identification details to create your credentials.
Pushing and pulling images
Using images from a private registry in Kubernetes
Create a Kubernetes Secret with your registry credentials and reference it in your deployment:Responsibility model
OVHcloud and you share responsibilities for the Kubernetes service.| Responsibility | OVHcloud | You |
|---|---|---|
| Kubernetes control plane (API server, etcd, scheduler) | Responsible | — |
| Node OS patching and security updates | Responsible | — |
| Kubernetes version lifecycle management | Responsible | — |
| Node pool configuration and sizing | — | Responsible |
| Workload deployment and configuration | — | Responsible |
| Application security (RBAC, network policies) | — | Responsible |
| Data persistence and backup of application state | — | Responsible |
| Kubernetes upgrades (triggering) | Informed | Responsible |
| Private network configuration | Informed | Responsible |
Related guides
Managing node pools
Add, remove, and configure node pools for your Kubernetes cluster.
Using the vRack with Kubernetes
Connect your cluster to a private network for secure inter-service communication.
Deploying GPU workloads
Schedule GPU-accelerated pods on OVHcloud Managed Kubernetes.
AI & Machine Learning
Run AI Notebooks, training jobs, and deploy models with OVHcloud AI services.