Pulling the olm-utils-v2
image from the private
container registry
If the olm-utils-v2
image is available in the private container registry, you
must update the cpd-cli
to pull the image from the private container
registry.
- Installation phase
- Setting up a client workstation
- Who needs to complete this task?
-
All administrators Any user who is involved in installing Cloud Pak for Data must complete this task on their workstation.
- When do you need to complete this task?
-
One-time setup If you pull images from a private container registry, complete this task before you run the
cpd-cli manage
commands against a cluster in a restricted network.
Before you begin
- A private container registry administrator must complete Mirroring IBM Cloud Pak for Data images to a private container registry.
- You must have the
cpd-cli
installed on the workstation where you complete this task. For details, see Installing the IBM Cloud Pak for Data command-line interface.
Procedure
Update the environment variables script on your workstation to include the
OLM_UTILS_IMAGE
environment variable. - x86-64 clusters
-
export OLM_UTILS_IMAGE=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpd/olm-utils-v2:${VERSION}
- ppc64le clusters
-
export OLM_UTILS_IMAGE=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpd/olm-utils-v2:${VERSION}.ppc64le
- s390x clusters
-
export OLM_UTILS_IMAGE=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpd/olm-utils-v2:${VERSION}.s390x
Remember: You must source the environment variables each time you open a new bash
prompt. For example:
source ./cpd_vars.sh
Results
cpd-cli
manage
commands, the workstation will automatically pull the olm-utils-v2
image from the private container registry.What to do next
Now that you've pulled the olm-utils-v2
image, you're
ready to complete Preparing your cluster for IBM Cloud Pak for Data.