Offline Helm Installation

Offline Helm Installation

Workflow

To perform an offline installation :

  1. Build an offline bundle
  2. Unpack the offline bundle and prepare for installation.
  3. Install Container Storage Module using the unpacked files.

NOTE: Use the same tool (docker or podman) for packing and unpacking images.

Building an offline bundle

NOTE: Login to the registry.redhat.io registry using RedHat credentials before you proceed with offline bundle creation.

  • On a Linux system with Internet access, clone the desired repository:
    • For Helm installs, clone the specific driver repo.
  • Run the csi-offline-bundle.sh script with the -c option to create the bundle:
git clone -b <version tag> https://github.com/dell/csi-<driver>.git
cd csi-<driver>/dell-csi-helm-installer
bash csi-offline-bundle.sh -c
Output

Unpacking the offline bundle and preparing for installation

  1. On a Linux system with registry access, copy the bundle file.
  2. Expand the bundle file: tar xvfz csi-<driver>-bundle-2.12.0.tar.gz
    Output
  3. Run the csi-offline-bundle.sh script with the -p option and specify the registry path with the -r option:
cd csi-<driver>-bundle-2.12.0/dell-csi-helm-installer 
./csi-offline-bundle.sh -p -r localregistry:5000/dell-csi-<driver>
  • The script will then perform the following steps:
    • Load the required container images into the local system
    • Tag the images according to the user-supplied registry information
    • Push the newly tagged images to the registry
    • Modify the Helm charts to refer to the newly tagged/pushed images

Install Container Storage Module

Prepare for Installation: Ensure required images are available and Helm Charts configuration is updated.

Follow Installation Procedure: Proceed with the usual installation steps as documented for Helm.