Prerequisites

Modify Rook Ceph’s Deployment

  1. Clone the kommander-applications repo to your local machine where you are running the upgrade:

    git clone --depth 1 --branch v2.4.0 https://github.com/mesosphere/kommander-applications.git
    CODE
  2. Prepare rook-ceph for the upgrade by editing the storage specifications of the rook-ceph-cluster:

    cd kommander-applications/services/rook-ceph-cluster/1.10.8/defaults/
    vi cm.yaml
    CODE
  3. Adapt the cephClusterSpec.storage in cm.yaml to include the following values:

        storageClassDeviceSets: []
        useAllDevices: true
        useAllNodes: true
    CODE
  4. Delete the following value in the same file:

        onlyApplyOSDPlacement
    CODE

Upgrade the Kommander component of DKP

  1. Ensure you are targeting the correct DKP version:

    dkp version
    CODE

    The output should show the current binary version, in this case, DKP 2.4.0.

  2. Execute the upgrade by specifying the repository you cloned and updated in the previous section:

    dkp upgrade kommander --kommander-applications-repository ./kommander-applications --platform-apps-timeout
    CODE