Downgrading AKS version to stable version from preview version

aditya Tangirala 16 Reputation points

I have recently upgraded the AKS version from 1.17.5 to 1.18.1 version and i found that it is in preview and it should not be used in production .I tried to downgrade by having yaml script written through azure CLI through cloud shell etc none of them downgraded it. I would like to have it downgrade to stable version without recreating the aks cluster as I would like to be in full support and free from risk. it would be great if you could help me out.

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,983 questions
{count} votes

3 answers

Sort by: Most helpful
  1. prmanhas-MSFT 17,901 Reputation points Microsoft Employee

    @adityaTangirala-4084 Unfortunately. Like any preview feature, once you turn it on you cannot remove it.

    That is even more true with the AKS version since Microsoft doesn’t allow you to downgrade version of AKS this would be too risky.

    What you can do it that you can create a second cluster on the side and and redeploy all of your manifests to have an exact copy.

    You can use this tool. It should help with this task.

    Hoping this helps you out.

    Please Accept as answer if it helped, so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

  2. Sam Cogan 10,342 Reputation points MVP

    It is not possible to downgrade the Kubernetes version, you would need to recreate the cluster.

    0 comments No comments

  3. Kasun Rajapakse 351 Reputation points

    It's not possible to downgrade the K8s version

    0 comments No comments