IBM Support

How to find the installed version of assemblies and its components

How To


Cloud Pak for Data can be upgraded and patched with latest version of Assemblies. The following steps will help determined the version of assembly and its services are at the desired versions.


1. How to list all the installed assemblies and versions
  POD=$(oc get pod -l name=cpd-install-operator -o=jsonpath='{.items[0]}')   oc exec $POD -- helm list --tls |  cut -f5
Sample output
image 5044
2. How to check version of a specific assembly and its components installed in this cluster
Example: WML (Watson Machine Learning)
  POD=$(oc get pod -l name=cpd-install-operator -o=jsonpath='{.items[0]}')   oc exec $POD -- helm list --tls | grep wml-base | cut -f5      oc exec $POD -- helm  get values wml  -a --tls |  grep -A2  -B1 image | egrep -v '^-|image'  | sed -e 's/repository://' -e 's/tag://' | paste - - -

Sample output
image 5043

Document Location


[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSHGYS","label":"IBM Cloud Pak for Data"},"ARM Category":[{"code":"a8m0z000000GoxsAAC","label":"Administration->Accessing the administration features"},{"code":"a8m50000000ClUuAAK","label":"Installation"},{"code":"a8m0z000000GoylAAC","label":"Troubleshooting"}],"ARM Case Number":"","Platform":[{"code":"PF064","label":"OpenShift 4.3"},{"code":"PF068","label":"OpenShift 3.11"}],"Version":"2.5.0;3.0.0;3.0.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
10 July 2020