Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 4.16 KB

File metadata and controls

90 lines (58 loc) · 4.16 KB
title excerpt updated
Upgrading Kubernetes version on an OVHcloud Managed Kubernetes cluster
Find out how to upgrade the Kubernetes version on an OVHcloud Managed Kubernetes cluster
2023-10-12
<style> pre { font-size: 14px; } pre.console { background-color: #300A24; color: #ccc; font-family: monospace; padding: 5px; margin-bottom: 5px; } pre.console code { border: solid 0px transparent; font-family: monospace !important; font-size: 0.75em; color: #ccc; } .small { font-size: 0.75em; } </style>

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.26 to 1.27).

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{.action} section and select the Public Cloud project concerned.

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

    Access to the administration UI{.thumbnail}

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

    Click on the right end button and choose Manage cluster{.thumbnail}

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

    Click on Upgrade to the next minor version{.thumbnail}

  4. Click on Confirm{.action}

    Click on Confirm{.thumbnail}

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{.thumbnail}

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.

  • If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.

  • Join our community of users.