Air-gapped
Suse Rancher Prime
This document provides a step-by-step guide for installing Rancher Prime Observability using Helm charts in an air-gapped environment. The process involves preparing the necessary Docker images and Helm charts on a host with internet access, transferring them to a host within a private network, copying Docker images to a private registry, and then deploying the Helm charts.
Prerequisites
On the Local Host (Internet Access)
Operating System: Linux or MacOS
Internet Access: Required to pull Docker images from Quay.io and Helm charts from ChartMuseum.
On the Private Network Host
Access: SSH access to the host.
Preparing the Docker Images and Helm Charts
Run the following commands on the local host to obtain the required Docker images and Helm charts:
Adding Helm repositories to the local Helm cache:
Fetching the latest versions of the charts. These commands will download TGZ archives of the charts:
Downloading the Bash scripts to save Docker images:
Extracting and Saving Docker Images:
Replace stackstate-k8s-A.B.C.tgz
with the actual filename of the chart archive downloaded earlier.*
Copying the Required Files to the Remote Host
Copy the following files from the local host to the host in the private network:
o11y-images.txt (List of images required by the Rancher Prime Observability chart)
o11y-images.tar.gz (An archive with the Rancher Prime Observability's Docker images)
o11y-load-images.sh (Bash script to upload Docker images to a registry)
Helm charts downloaded earlier:
stackstate-k8s-A.B.C.tgz
stackstate-values-L.M.N.tgz
Restoring Docker Images from the Archive to the Private Registry
Upload the images to the private registry:
If the destination registry doesn't use authentication the environment variables, DST_REGISTRY_USERNAME
and DST_REGISTRY_PASSWORD
must not be configured or have to be set to empty values.*
Installing Rancher Prime Observability
Custom Helm values
Installing Rancher Prime Observability Helm charts in an air-gapped environment requires overriding the registries used in Docker image URLs. This can be achieved by customizing Helm values.
Create a private-registry.yaml file with the following content:
This guide follows the Installing a default HA setup for up to 250 Nodes setup, but instead of using publicly available Helm and Docker repositories/registries, it uses pre-downloaded Helm archives and private Docker registries.
Command to Generate Helm Chart Values File:
Deploying the Rancher Prime Observability Helm Chart:
Validating the Deployment:
Last updated