manage
case-download
Extended description
If your Red Hat® OpenShift® Container Platform cluster is in a restricted network, you must have the CASE packages for the components that you plan to install on the client workstation from which you will run the installation and upgrade commands.
If you mirror the images to a private container registry and use the same workstation to complete all installation and upgrade tasks, the CASE packages are already on the client workstation.
However, if different users complete installation and upgrade tasks from different workstations,
each user can use the case-download command to ensure
that they have the CASE packages on
their workstation.
Syntax
cpd-cli manage case-download \
--components=<comma-separated-list-of-component-names> \
--release=<version> \
[--from_oci=true|false] \
[--oci_location=<registry-URL>]
Arguments
The case-download command has no arguments.
Options
| Option | Description |
|---|---|
--components |
A comma-separated list of the components for which you want to mirror
the associated images.
|
--from_oci |
Download CASE packages from the IBM Cloud Pak® Open Container Initiative (OCI) registry rather than from
GitHub. This option is recommended for environments that are not allowed to access GitHub (github.com). Restriction: This setting applies only if you
set
--case_download=true.
|
--oci_location |
The URL of the Open Container Initiative (OCI) registry from which
you want to download CASE packages. For example, specify this
option if you want to download the CASE
packages from a private OCI registry. Restriction: This setting applies only if you set
--from_oci=true.
|
--release |
The release for which you want to mirror
images.
|
Examples
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Setting up installation environment variables.
- Download the CASE packages from GitHub
-
cpd-cli manage case-download \ --components=${COMPONENTS} \ --release=${VERSION} - Download the CASE packages from the IBM Cloud Pak Open Container Initiative
-
cpd-cli manage case-download \ --components=${COMPONENTS} \ --release=${VERSION} \ --from_oci=true