Preparing to upgrade Watson Discovery

Before you upgrade Watson Discovery, you must complete the following tasks.

Procedure

Before you upgrade Watson Discovery, make sure to review the Known issues and limitations for Watson Discovery so that you are aware of any issues that might occur during the upgrade process.

Complete the following task before upgrading Watson Discovery:

Verify that MinIO is removed

Starting in IBM Cloud Pak® for Data Version 5.0, MinIO data store must not exist. You must remove the MinIO data store before upgrading Watson Discovery.

To verify that MinIO is removed:
  1. Run the following command and confirm that it returns nothing.
    oc get miniocluster wd-minio --namespace=${PROJECT_CPD_INST_OPERANDS}
    If the command returns the MinIO resource, run the following command to disable the MinIO data store.
    oc patch WatsonDiscovery wd \
     --namespace=${PROJECT_CPD_INST_OPERANDS} \
     --type merge \
     --patch '{"spec": {"minio": {"create": false}}}'

    Wait a few minutes for the MinIO cluster to be deleted.

  2. Run the following command to confirm that the MinIO cluster was removed. It must not return any resource.
    oc get miniocluster wd-minio \
     --namespace=${PROJECT_CPD_INST_OPERANDS}

    Repeat this step until no resources are returned.

  3. Run the following commands to delete the remaining resources of MinIO.
    oc delete pvc \
     --namespace=${PROJECT_CPD_INST_OPERANDS} \
     -l app.kubernetes.io/instance=wd-minio
    oc delete pvc wd-minio-discovery-backup-pvc \
    --namespace=${PROJECT_CPD_INST_OPERANDS}
    oc delete secret wd-discovery-kes-client-secret \
    --namespace=${PROJECT_CPD_INST_OPERANDS}

What to do next

Upgrade the Watson Discovery service, see Upgrading Watson Discovery.