Air-Gapped Installations

This page describes the instructions for deploying Trilio for Kubernetes (T4K) in a network-restricted environment

Red Hat OpenShift

Trilio for Kubernetes has been designed to support installation in a restricted or disconnected network as part of the OLM framework. Please follow the instructions from the OpenShift Documentation and refer to this detailed video to install T4K in an offline environment.

Others Distributions

The following documentation provides a method to install Trilio for Kubernetes inside an air-gapped environment (a.k.a dark site), i.e., one with either no internet or just partial internet connectivity to run the installation.

MacOS Users: Installation script requires GNU-based getopt package and iproute2mac package

Prerequisites

  1. A host with 20Gb free disk space if you install a local registry.

  2. The host must have connectivity to the cluster.

  3. Container Runtime should be installed and running on the host (docker/podman/crictl/nerdctl)

  4. If you are installing a local registry, the IP of the host machine and port (by default 443) should not be blocked for cluster nodes or should not have other services like Nginx running.

  5. Check if any service is already running on the specified port. If so, mention another port with —port option while running run.sh

Download

Perform the following steps to download the required files:

  • Download the installation package to the host

  • Untar the installer using the command:

  • Check that the extracted code looks like this:

  • Setup T4K Log-collector plugin

    1. Move binary to PATH :

    2. Verify Installation :

  1. The wildcard certificates provided inside the certs directory has an expiry.

  2. You can download the traefik certs and replace them inside the folder if they appear to be expired.

  3. You can also pass your certs with --cert-file, --key-file, and --registry-host options.

  4. Validate the certs with openssl x509 -in <cert-name.crt> -text -noout

Installation

run.sh — library for setting up container registry with trilio images.

User Actions

  • Local secure private container registry setup with wildcard certificates. (Not recommended for production use) :

  • Local secure private container registry setup on the specified port :

  • Local secure private container registry setup with observability stack images :

  • Local secure private container registry setup with user-provided certificates. (Not recommended for production use) :

  • Use an already existing container registry :

    1. Container Registry with authentication :

    2. Container Registry without any authentication :

Install T4K

  1. Run helm install command with registry parameters:

  2. If --observability option is passed during installer setup, enable Observability Stack in values.yaml and update with container registry parameters and run helm install:

Upgrade T4K

Perform the following steps to download and install the upgrade files required:

  1. Download the newer version installer package from the GCS bucket here: curl -O https://storage.googleapis.com/triliovault-airgap/<version>/installer.tar.gz

  2. Unzip installer.tar.gz

  3. Run helm upgrade using the following command:

Last updated

Was this helpful?