How to upgrade OS of nodes in AKS?

Andrew Lazurkevych 35 Reputation points

I have 2 AKS clusters (dev and prod). All nodes are running ubuntu 18.04. I want to upgrade the nodes from ubuntu 18.04 to 22.04. How can I do it? Or is it easier to create a new cluster?

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,977 questions
0 comments No comments
{count} votes

Accepted answer
  1. Akram Kathimi 1,046 Reputation points Microsoft Employee

    Hi @Andrew Lazurkevych,

    Thank you for your question.

    Please note that Ubuntu 22.04 images are available for AKS clusters starting version 1.25.

    You can find this mentioned here:

    Therefore, I suggest upgrading the AKS cluster to v.1.25 by following this doc:

    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Olumide Oluyisola 16 Reputation points

    Does upgrading AKS to version 1.25 upgrade the nodes' OS imageReference to Ubuntu 22.04 automatically?

  2. Saad Hessane 0 Reputation points


    I just did the update. Updating to 1.25 updates also the OS used by the default node pool to Ubuntu 2204.

    0 comments No comments