Upgrading IBM Software Hub (Upgrading from Version 5.2 to Version 5.4)
To upgrade an instance of IBM Software Hub, you must grade the required operators and custom resources for the instance.
- Upgrade phase
-
Updating your client workstation
Collecting required information
Preparing to run an upgrade in a restricted network
Preparing to run an upgrade from a private container registry
Upgrading prerequisite software
Upgrading shared cluster components
Preparing to upgrade an instance
Upgrading an instance
Setting up IBM Software Hub
- Who needs to complete this task?
-
Instance administrator An instance administrator can complete this task.
- When do you need to complete this task?
-
Repeat as needed If you have multiple instances of IBM Software Hub on the cluster, complete this task for each instance that you want to upgrade.
Before you begin
In addition, ensure that you source the environment variables before you run the commands in this task.
- Service-specific prerequisite tasks
-
If you have any of the following services on this instance of IBM Software Hub, complete the required steps before you upgrade IBM Software Hub:
watsonx Code Assistant
Delete the
ibm-granite-20b-code-javaenterprise-v2InferenceServiceobject:oc delete isvc ibm-granite-20b-code-javaenterprise-v2 \ -n ${PROJECT_CPD_INST_OPERANDS} \ --ignore-not-found
watsonx Code Assistant for Red Hat Ansible Lightspeed
Delete the
ibm-granite-3b-code-v1andibm-granite-20b-code-8k-ansibleInferenceServiceobject:oc delete isvc ibm-granite-3b-code-v1 ibm-granite-20b-code-8k-ansible \ -n ${PROJECT_CPD_INST_OPERANDS} \ --ignore-not-found
About this task
Use the cpd-cli manage install-components command to upgrade the required operators and
custom resources for an instance of IBM Software
Hub.
install-components command in this topic
includes the --run_storage_tests option. It is strongly
recommended that you run the command with the --run_storage_tests option to enure that the storage in your environment meets the minimum requirements for
performance. If your storage does not meet the minimum requirements, you can remove the
--run_storage_tests option to continue the upgrade. However,
your environment is likely to encounter problems because of issues with your storage.
Procedure
What to do next
Now that you've upgraded the IBM Software Hub control plane, you're ready to complete Updating the backup and restore software for an instance of IBM Software Hub (Upgrading from Version 5.2 to Version 5.4).
If you don't use the cpdbr service, see Upgrading the IBM Software Hub configuration admission controller webhook (Upgrading from Version 5.2 to Version 5.4)