Preparing images and resources for an air-gapped installation
Before you begin the air-gapped installation of DevOps Loop, you must prepare all the required container images and resources. In an air-gapped environment, external repositories are not accessible, and therefore, you must collect and transfer all required assets to your internal registry or offline storage.
Before you begin
- Gained administrative privileges on the target Kubernetes namespace and the airgap container registry.
- Downloaded the DevOps Loop Helm chart and it is accessible.
- Downloaded the
airgap.shscript and ensured that it is available in the DevOps Loop Helm chart. - Installed the
skopeoutility on your local machine and authenticated with the required image registries. - Allocated sufficient disk space to save product images and plugin files
for transfer to the air-gapped environment.Note: Product images consume approximately 50 GB or more of disk space in your internal/air-gapped image registry.
About this task
Copy DevOps Loop images by using a jump server
Copy DevOps Loop images directly to the internal registry by using a jump server. You can use this method when a system can connect to both the public internet and the air-gapped image registry.
sh ./ibm-devops-loop/scripts/airgap/airgap.sh -r ibm-devops-loop -d registry.local:5000/devops-loop
OR
Copy DevOps Loop images by using file-based transfer
Copy DevOps Loop images to an air-gapped environment by using file-based image archives. You can use this method when no system has access to both the public internet and the air-gapped environment.
Prepare MongoDB for an air-gapped installation
You must prepare MongoDB for air-gapped installation by making the required Helm chart available locally and updating the configuration to use images from your internal registry.
Prepare MySQL JDBC driver
The DevOps Deploy server, installed as part of DevOps Loop, creates a MySQL database to store various artifacts. In an air-gapped environment, the installation cannot automatically download the required JDBC driver. You must make the driver available manually before starting the DevOps Loop installation.