Installing IBM software onto IBM Cloud Private
You can install other IBM software onto IBM® Cloud Private to either extend the functionality of the IBM Cloud Private platform or add to the IBM Cloud Private Catalog.
There are two options for installing IBM software onto IBM Cloud Private:
-
Adding IBM software to the IBM Cloud Private Catalog: You can use the CLI to manually install the IBM software and then load the Helm chart into the IBM Cloud Private Catalog.
-
Installing IBM software onto the IBM Cloud Private platform: You can use the IBM Cloud Private installer to install and activate the IBM software immediately on the cluster.
You can obtain IBM software that can integrate with IBM Cloud Private through IBM Cloud Private bundles and IBM Cloud Paks. Each IBM Cloud Private bundle contains different entitled software that you download from IBM Passport Advantage. The list of add-ons that are available on Passport Advantage changes frequently, as new ones are added. For more information, see IBM Cloud Private bundles, and Identifying IBM Cloud Paks.
Required user type or access level: Cluster administrator or team administrator
Adding IBM software to the IBM Cloud Private Catalog
You must manually install the Helm charts for other products that can integrate with IBM Cloud Private.
Before you load a chart, complete the following prerequisites:
- Install IBM Cloud Private. See Installing IBM Cloud Private Cloud Native, Enterprise, and Community editions.
- Install the IBM Cloud Private CLI and log in to your cluster. See Installing the IBM Cloud Private CLI.
- Configure authentication from your computer to the Docker private image registry host and log in to the private registry. See Configuring authentication for the Docker CLI.
- If you are not a root user, ensure that your account is part of the
docker
group. See Post-installation steps for Linux in the Docker documentation. - Ensure that you have a stable network connection between your computer and the cluster.
To install IBM software and load a Helm chart into the Catalog:
- Download the compressed file from IBM Passport Advantage® .
-
Ensure that you have enough disk space to load the images in the compressed files to your computer.
-
Check the Docker disk usage by running the following command:
docker system df
For more command options, see docker system df in the Docker documentation.
- If you need more disk space, perform one of the following actions:
- Remove the old Docker images.
- Increase the amount of storage that the Docker daemon uses. To increase the amount of storage that the Docker daemon uses, see the entry for
dm.basesize
in the dockerd Docker documentation.
-
-
Log in to your cluster from the IBM Cloud Private CLI and log in to the Docker private image registry:
cloudctl login -a https://<cluster_CA_domain>:8443 --skip-ssl-validation docker login <cluster_CA_domain>:8500
The
cluster_CA_domain
is the certificate authority (CA) domain. If you did not specify a CA domain, the default value ismycluster.icp
. See Specifying your own certificate authority (CA) for IBM Cloud Private services. -
Install the file from Passport Advantage:
-
For either Linux or Windows, run the following command:
cloudctl catalog load-archive --archive <compressed_file_name> --registry mycluster.icp:8500/namespace
The
compressed_file_name
parameter is the name of the file that you downloaded from Passport Advantage,--registry
is the registry where the Docker image is pushed to, andnamespace
is the Docker namespace that hosts the Docker image. -
For macOS:
cloudctl catalog load-archive --archive <compressed_file_name> --username user --password pass --registry mycluster.icp:8500/namespace
Note: The
--registry
parameter is not required. If the--registry
parameter is not specified, images are uploaded to the registry associated with the default cluster CA domain and the current targeted namespace. -
-
View the charts in the IBM Cloud Private Catalog:
From the IBM Cloud Private management console, click Catalog. The new Helm charts load into the Catalog, and you can install them into your cluster.
Note: You can load the Helm charts by using only the Catalog. You cannot load the charts by using the Helm CLI.
Installing IBM software onto the IBM Cloud Private platform
You can use the IBM Cloud Private installer to install and activate the IBM software immediately on the cluster.
Before you begin, you must have an installed IBM Cloud Private or IBM Cloud Private-CE cluster that is version 3.1.1 or later.
To install IBM software onto IBM Cloud Private:
-
Download the compressed file from IBM Passport Advantage® .
-
Optional: Prepare the archive dependency yaml resource file.
-
Optional: Create a directory called
resources
in yourcluster
directory and put the yaml resource file under it.mkdir -p cluster/resources mv your-resource.yaml cluster/resources/
-
Create a directory called
addon
in yourcluster
directory by running the following command:mkdir -p cluster/addon
-
Move the archive package to the directory that you just created. For example:
mv software-version.tgz cluster/addon/
-
Update the
cluster/config.yaml
file by adding the following content. For example:archive_addons: software_name: namespace: default repo: local-charts path: addon/software-version.tgz charts: - name: software values: service: name: software-service
The following list describes the content in the example:
- namespace: The namespace where you want to upload IBM Passport Advantage images and install your IBM Passport Advantage charts.
- repo: The Helm repo where you want to upload the IBM Passport Advantage charts. This can be either
local-charts
ormgmt-charts
. - path: The IBM Passport Advantage package path relative to the
cluster
directory. - charts: A list of charts that you want to install. If no charts are listed, no chart is installed.
- charts[].name: The Passport Advantage chart that is installed with the installation of IBM Cloud Private.
- charts[].values: The customized values of the IBM Passport Advantage chart.
-
Run the IBM Cloud Private installation command. The installer uploads the specified charts and images to the Helm repository and registry.