Downgrading AKS version to stable version from preview version

aditya Tangirala 16 Reputation points
2020-07-08T05:51:14.523+00:00

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.
2,254 questions
{count} votes

3 answers

Sort by: Most helpful
  1. prmanhas-MSFT 17,906 Reputation points Microsoft Employee
    2020-07-09T07:53:07.983+00:00

    @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,782 Reputation points MVP
    2020-07-08T11:30:55.78+00:00

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

    0 comments No comments

  3. Kasun Rajapakse 431 Reputation points
    2020-07-14T11:53:38.017+00:00

    It's not possible to downgrade the K8s version

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.