IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
137 stars 67 forks source link

Ability to mirror all components for an air gapped install #575

Closed techietav closed 10 months ago

techietav commented 11 months ago

When performing an air gapped install the deployer will only mirror the images for the selected components in the config yaml.

The problem is that for some customer deployments you might choose to only deploy some components initially and then re run the deployer to add further components. One example being a phased rollout or in a PoC where the customer expresses an interest in another capability and there is a new sales opportunity. Adding WKC for example.

Currently the only way to mirror all available images is to create a new config yaml with everything set to installed purely to use with cp-deploy.sh env download.

It would be great if there was a --mirror-all flag and this could also include --arch=amd64 to only mirror the required architecture (where this is supported).

fketelaars commented 10 months ago

In most situations, you will only want to mirror the images applicable to the installation you're doing. Mirroring the images for all services included in CP4D, including watsonx, will accumulate to many GBs.

If you really want to mirror the images, even of most of them remain unused, you can do the following:

This will then download all images to the portable registry.

Once on-site to do the install, mirror the images to the customer's private registry and change the deployer's cp4d configuration so that only the services the customer wants to deployer are installed.