Skip to main content
Skip table of contents

Upgrade Kommander in a Pre-provisioned Environment

Prerequisites

Modify Rook Ceph’s Deployment

  1. Clone the kommander-applications repo 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
  2. Prepare rook-ceph for 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
  3. Adapt the cephClusterSpec.storage in cm.yaml to include the following values:

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

    CODE
        onlyApplyOSDPlacement

Upgrade the Kommander component of DKP

  1. 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.

  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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.