Upgrading Kubernetes version on an OVHcloud Managed Kubernetes cluster

Find out how to upgrade the Kubernetes version on an OVHcloud Managed Kubernetes cluster

Last updated 3rd January 2023

Objective

The OVHcloud Managed Kubernetes service provides you Kubernetes clusters without the hassle of installing or operating them. In this guide we cover how you can easily upgrade your cluster to the next minor version of Kubernetes.

On OVHcloud Managed Kubernetes we have deployed a Upgrade to the next minor version of Kubernetes feature to upgrade your cluster from one version to the next (e.g. 1.13 to 1.14).

Requirements

  • An OVHcloud Managed Kubernetes cluster

Important information on the upgrading process

Before you launch the upgrade, please back up your cluster’s configuration, and check that your worker tools are compatible with this new version.

The upgrading process will try to do a rolling upgrade. Please ensure that your cluster includes enough worker nodes to allow for a rolling upgrade.

To minimise downtime for your pods and your overall service, we will drain each of your nodes, only moving on to the next node when the current one is functional (i.e. when the status changes to ‘Ready’). Your admin components and server API will also be updated.

Node rolling upgrade - step 1 and 2 Node rolling upgrade - step 3

This operation usually takes around 5 minutes per node in your cluster, but that can vary depending on your cluster type and size.

Once the update has been performed, you cannot revert to the previous version.

Instructions

Step 1 - Ask for a minor version upgrade on the OVH Cloud Manager

  1. Log in to the OVHcloud Control Panel, go to the Public Cloud section and select the Public Cloud project concerned.

    Access the administration UI for your OVHcloud Managed Kubernetes clusters by clicking on Managed Kubernetes Service in the left-hand menu.

    Access to the administration UI

  2. Click on the right end button of your Kubernetes cluster and choose Manage cluster

    Click on the right end button and choose Manage cluster

  3. On the Management section, click on Upgrade to the next minor version

    Click on Upgrade to the next minor version

  4. Click on Confirm

    Click on Confirm

Your security policy must be set at least to "Minimum unavailability", otherwise the upgrade will fail.

Security Policy

Failed Upgrade

Step 2 - Wait for the upgrading to end

The upgrading process can take several minutes (around 5 minutes per node in your cluster). During that time, a message on the OVHcloud Control Panel warns you that the cluster is being upgraded:

Wait for the end of the upgrade

Go further

To have an overview of the OVHcloud Managed Kubernetes service, you can go to the OVHcloud Managed Kubernetes page.

To learn more about how to use your Kubernetes cluster the practical way, we invite you to look at our tutorials.

Join our community of users.


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community