How to upgrade OS of nodes in AKS?

Andrew Lazurkevych 20 Reputation points
2023-03-15T10:34:53.99+00:00

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

Accepted answer
  1. Akram Kathimi 561 Reputation points Microsoft Employee
    2023-03-15T10:53:07.79+00:00

    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: https://azure.microsoft.com/en-us/updates/generally-available-aks-support-for-ubuntu-2204/.

    Therefore, I suggest upgrading the AKS cluster to v.1.25 by following this doc: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster?tabs=azure-cli.

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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful