Update from 1.3.2 to 1.3.4
You can update your existing CDP Private Cloud Data Services 1.3.2 to 1.3.4 without requiring an uninstall.
- If you see a Longhorn Health Test message about a degraded Longhorn volume, wait for the cluster repair to complete.
- After the upgrade, the version of YuniKorn may not match the version
that should be used with Private Cloud version 1.3.4. The YuniKorn
version should be: 0.10.4-b25. If this version is not deployed, do the
following to correct this:
- Log in to any node with access to the ECS cluster using ssh. The user must have the correct administration privileges to execute these commands.
- Run the following command to find the YuniKorn scheduler
pod:
The first value on the line is the scheduler pod ID. Copy that text and us it in the following command to describe the pod:kubectl get pods -n yunikorn | grep yunikorn-scheduler
kubectl describe pod **yunikorn-scheduler-ID** -n yunikorn : grep "Image:"
A completed upgrade for 1.3.4 shows the image version:docker-private.infra.cloudera.com/cloudera/cloudera-scheduler:0.10.4-b25
The correct version is
0.10.4-b25
. If it still shows an older version like0.10.3-b10
, then the upgrade has failed.In case of a failed upgrade you must manually upgrade to the correct version. Continue with the remaining steps.
- Scale the YuniKorn deployment down to
0:
kubectl scale deployment yunikorn-scheduler -n yunikorn --replicas=0
- Wait until all pods are terminated. you can check this by
listing the pods in the
unikorn
namespace:kubectl get pods -n yunikorn
- Edit the deployment to update the
version:
kubectl edit deployment yunikorn-scheduler
-
Replace all the references to the old version with the new updated version. There should be 3 references in the deployment file:
ADMISSION_CONTROLLER_IMAGE_TAG
- Two lines with the "
Image
:" tag
Replace all occurrences of the old version with the new version. For example: replace
0.10.3-b10
with0.10.4-b25
-
Save the changes.
-
Scale the deployment back up:
kubectl scale deployment yunikorn-scheduler -n yunikorn --replicas=1