Which one should we update first AKS version or nodel pool OS image?

Tanul 1,251 Reputation points
2022-06-01T16:35:12.487+00:00

Team,

Its a follow-up question to this one. As discussed with @KarishmaTiwari-MSFT , AKS version should be updated first. But, consider a situation where latest version of AKS expects updated OS packages/libraries in the nodes. In such case, does old OS leads to failure of AKS upgrade process or might unstable it.

Any suggestion on this... I need to start the upgrade process on Friday. Would really appreciate the immediate attention of the msft-engineers. Thank you.

Regards,
Tanul

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

Accepted answer
  1. shiva patpi 13,146 Reputation points Microsoft Employee
    2022-06-04T05:31:00.62+00:00

    Hello @Tanul ,
    You can take a look at all the tracking changes at https://github.com/Azure/AKS/releases
    You need not do all the test but you can do a basic validations like 1) All your PODS are in Running State 2) All your Services are UP & Running !
    If you find any issue in higher version - you can't downgrade it but you can always add a new node pool with previous version
    To validate if AKS is healthy:

    1. From Azure Portal -> AKS Cluster -> Overview Page -> just make sure that the Status is in Running State.
    2. From Node Pools -> Check if the corresponding Node Pools are Provisioning Succeeded State .
    3. From Azure Portal -> Corresponding Virtual Machine Scale Just make it is in Succeeded State.

    Regards,
    Shiva.


1 additional answer

Sort by: Most helpful
  1. shiva patpi 13,146 Reputation points Microsoft Employee
    2022-06-01T23:08:08.01+00:00

    Hello @Tanul ,
    The best practice would be "Update the AKS version" - Updating the AKS version will in-turn make sure the Node Pool OS gets the latest Image.
    Even though the nodes are running the older packages , AKS version upgrade will take care rest of the things !
    There won't be any failures w.r.t OS related issues.

    Please note: When you are trying to update the AKS version make sure to choose Upgrade Control Plane + all Node Pool

    Regards,
    Shiva.