As discussed with AKS team, currently there is no support for rollback to previous AKS versions or enable some environment configuration to do so.
Downgrade or enable backward compatibility to previous AKS version
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.
-
Chintan Rajvir 426 Reputation points Microsoft Employee
2021-01-19T05:47:35.96+00:00