Downgrade or enable backward compatibility to previous AKS version

Chintan Rajvir 426 Reputation points Microsoft Employee
2021-01-18T04:49:04.81+00:00

We are using AKS in our deployments and the version we deployed was 1.18.6. Next, we attempted to upgrade the cluster to the latest version of AKS 1.19.6.

However, the applications we host on the cluster require access to the /var/host/docker.sock file. After the upgrade we understood that AKS version 1.19.x onwards are using containerd as default environment and the application cannot access the local docker socket.

Given, we do not have the capabilities to switch the open-source application code currently, we wanted to migrate back to 1.18.6 so that our applications can keep performing correctly. We have used availability sets for AKS deployments, so we are not able to migrate to a different node pool.

I wanted to see if there is feature flag or environment variable that can be used to switch back to previous AKS version, without us re-creating the cluster - as that might lead to loss of data.

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

Accepted answer
  1. Chintan Rajvir 426 Reputation points Microsoft Employee
    2021-01-19T05:47:35.96+00:00

    As discussed with AKS team, currently there is no support for rollback to previous AKS versions or enable some environment configuration to do so.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.