Specifying the image repository

The software package of each helm chart includes the Docker image for the probe and busybox. Importing the software package into ICP adds the Docker image into the locally managed ICP image repository. The scope of each image is limited to the namespace of the user who performed the import.

Loading the package as an administrator

To load the software package, a cluster administrator or administrator role is required. The software package can be uploaded to ICP using the ICP command line tool, for details see Loading PPA packages to IBM Cloud Private.

For ICP 2.1.x, use the bx pr load-ppa-archive command. For more information about this command for ICP 2.1.0.3 see IBM Cloud Private CLI command reference.

For ICP 3.1.x, use the cloudctl catalog load-archive command. For more information about this command for ICP 3.1.1 see IBM Cloud Private CLI command reference.

If the image already exists in the ICP local image manager, see the next section for details about how to configure the chart to pull the local image.

Configuring the Chart Image Repository parameter

When configuring the helm chart, the image.repository parameter should be set to mycluster.icp:8500/default/<image name> to use the local image.

Note: mycluster.icp is the default cluster CA domain name and default is the namespace, change these to the correct cluster CA domain name and namespace to pull from the local image manager.

For example, if the probe Docker image is loaded to a namespace called production and the image name is netcool-probe-messagebus, then the image.repository parameter should be set to mycluster.icp:8500/production/netcool-probe-messagebus.

Configure the image to be available for all namespaces

To configure the image to be available for all namespaces, use the following steps:

  1. Go to the ICP menu.
  2. Click on the Manage > Images screen.
  3. Under Actions, select Change Scope.
  4. Select Global.