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-applications
repo to your local machine where you are running the upgrade:CODEgit clone --depth 1 --branch v2.4.2 https://github.com/mesosphere/kommander-applications.git
Prepare
rook-ceph
for the upgrade by editing the storage specifications of therook-ceph-cluster
:CODEcd kommander-applications/services/rook-ceph-cluster/1.10.8/defaults/ vi cm.yaml
Adapt the
cephClusterSpec.storage
incm.yaml
to include the following values:CODEstorageClassDeviceSets: [] useAllDevices: true useAllNodes: true
Delete the following value in the same file:
CODEonlyApplyOSDPlacement
Upgrade the Kommander component of DKP
Ensure you are targeting the correct DKP version:
CODEdkp 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:
CODEdkp upgrade kommander --kommander-applications-repository ./kommander-applications --platform-apps-timeout=60m