How to Upgrade AKS Kubernetes version?

VVK 56 Reputation points Microsoft Employee
2020-05-06T16:37:25.17+00:00

Hello Team

We got email from Microsoft Azure as

Upgrade your AKS Kubernetes version before 27 February 2020
You're receiving this email because you are using the Azure Kubernetes Service (AKS).

We detected that one or more AKS clusters for the Subscription ID(s) listed in the Account Information section are using Kubernetes v1.13 or lower. AKS will be retiring v1.13 on 27 February 2020. To stay within supported versions and SLO please upgrade your clusters to 1.14 or higher.

How to Upgrade AKS Kubernetes version?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question.] Source: MSDN Thread Link

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,852 questions
0 comments No comments
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,352 Reputation points Microsoft Employee
    2020-05-06T16:48:44.347+00:00

    Easier way to upgrade your cluster is via portal or Azure CLI.

    During the upgrade, platform will pick a node, cordon and drain the node and replace that nod with the new version. This will happen in a sequence for all the nodes.

    If there is a failure during that process, upgrade stops. Its better to pick a non business hour for upgrades.

    While upgrading you can move to the next minor version. You can't jump versions. So if you want to move from 1.11 to 1.13, you need to do two upgrades. One from 1.11 to 1.12 and, the next one from 1.12 to 1.13

    This document explains the process of upgrading a cluster clearly. Please go through that and let me know if you face any issues.

    Source : MSDN Thread Link

    5 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Roy Kim (Azure MVP) 181 Reputation points MVP
    2020-06-17T17:07:28.54+00:00

    Also check for the available version in your target region.

    az aks get-versions --location eastus --output table

    https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions#faq

    2 people found this answer helpful.
    0 comments No comments