MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

Incorrect API version for default NodeImage OS auto-upgrade channel #115745

Closed shirleyley007 closed 1 year ago

shirleyley007 commented 1 year ago

[Enter feedback here] In the document, it says "By default, any new cluster created with an API version of 06-01-2022 or later will set the node OS auto-upgrade channel value to NodeImage. " But in my and cx's environment, we found the API version could be incorrect -- cx's AKS cluster is created using API version 2022-11-01, my AKS cluster is created using API version 2023-02-01 -- both of them were not set the node OS auto-upgrade channel value to NodeImage by default.

What is the exact API version for the default NodeImage OS auto-upgrade channel to be effective?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AjayBathini-MSFT commented 1 year ago

@shirleyley007 Thanks for your feedback! We will investigate and update as appropriate.

ManoharLakkoju-MSFT commented 1 year ago

@shirleyley007 Based on the documentation, the default node OS auto-upgrade channel value is set to NodeImage for any new cluster created with an API version of 06-01-2022 or later. However, it's possible that the API version used to create your AKS clusters is not within this range, which is why the default value was not set to NodeImage.

To confirm the API version of your AKS cluster, you can run the following command in Azure CLI:

az aks show --resource-group <resource-group-name> --name <cluster-name> --query 'apiServerProfile.kubernetesVersion'

This will return the Kubernetes version of your cluster, which includes the API version. If the API version is within the range mentioned in the documentation, then the default node OS auto-upgrade channel value should be set to NodeImage. If not, you can manually set the node OS auto-upgrade channel value to NodeImage using the steps provided in the documentation.

shirleyley007 commented 1 year ago

@ManoharLakkoju-MSFT My cluster is created using API version newer than 06-01-2022, but the default node OS auto-upgrade channel is not set to NodeImage. We want to confirm the actual effective API version for this setting. Thanks.

ManoharLakkoju-MSFT commented 1 year ago

@shirleyley007 I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.

[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows. [Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1) Thank you for your time and patience throughout this issue.