We are going to upgrade from version 21.3 to the latest version 24.1.
As per documentation, the upgrade path should be 21.3-->22.1-->23.1-->23.3-->24.1
But, what about Kubernetes and Docker versions?
DX Platform on Premise
The technical reason for this is that deployment descriptors were changed over time to support a particular range of Kubernetes versions.
For example:
- Some features were in different namespaces in older Kubernetes, ingress for example.
- Some features of newer versions were adopted, such as startup probes that were not enabled by default in older Kubernetes.
Older DX APM versions might not start in new Kubernetes and newer DX APM might not start in old Kubernetes. That is why the documentation states that the Kubernetes version needs to be upgraded to a supported version before upgrading DX.
Then, considering that the supported versions of Kubernetes by DX version are:
21.3 : Kubernetes 1.19. 1.20, 1.21
22.1 : Kubernetes 1.22, 1.23, 1.24
23.1 : Kubernetes 1.23, 1.24, 1,25, 1.26
23.3 : Kubernetes 1.27, 1.28, or 1.29
24.1 : Kubernetes 1.27, 1.28, or 1.29
the recommended path to upgrade from 21.3 to 24.1 would be:
1- Upgrade Kubernetes to 1.22
2- Upgrade DX Platform to 22.1
3- Upgrade Kubernetes to 1.24
4- Upgrade DX Platform to 23.1
5- Upgrade Kubernetes to 1.29
6- Upgrade DX Platform to 23.3
7- Upgrade DX Platform to 24.1
In regard to docker, the upgrade to the latest version of it can be done in step 1.