Upgrade Kommander in a Pre-provisioned Environment
Prerequisites
- Ensure you meet all prerequisites stated in the Kommander upgrade section. 
- Ensure you have set up a minimum of 4 x 40 GB of raw (unformatted disk) storage for each of the worker nodes of your cluster. We recommend setting up 1 volume per node, or multiple volumes per node only if node pool is less than 4. 
Modify Rook Ceph’s Deployment
- Clone the - kommander-applicationsrepo to your local machine where you are running the upgrade:CODE- git clone --depth 1 --branch v2.4.2 https://github.com/mesosphere/kommander-applications.git
- Prepare - rook-cephfor the upgrade by editing the storage specifications of the- rook-ceph-cluster:CODE- cd kommander-applications/services/rook-ceph-cluster/1.10.8/defaults/ vi cm.yaml
- Adapt the - cephClusterSpec.storagein- cm.yamlto include the following values:CODE- storageClassDeviceSets: [] useAllDevices: true useAllNodes: true
- Delete the following value in the same file: CODE- onlyApplyOSDPlacement
Upgrade the Kommander component of DKP
- Ensure you are targeting the correct DKP version: CODE- dkp version- The output should show the current binary version, in this case, DKP 2.4.2. 
- Execute the upgrade by specifying the repository you cloned and updated in the previous section: CODE- dkp upgrade kommander --kommander-applications-repository ./kommander-applications --platform-apps-timeout=60m
