How to install Kommander using an Air-gapped installation
Depending on your configuration, there are three different ways you can install DKP to an air-gapped environment.
Ensure you follow the correct procedure for your configuration type below:
Before installing, ensure you have:
A registry containing all the necessary installation images, including the Kommander images. See below for how to push the necessary images to this registry.
Download the Complete DKP Air-gapped Bundle for this release (i.e.
Connectivity with clusters attaching to the management cluster:
Both management and attached clusters must be able to connect to the registry.
The management cluster must be able to connect to all attached cluster’s API servers.
The management cluster must be able to connect to any load balancers created for platform services on the management cluster.
All the prerequisites covered in air-gapped DKP installation.
A load balancer to route external traffic which is provided by your cloud provider. For on-premises deployments, you must configure MetalLB. See Load Balancing topic for more details.
Load the Images into Your Registry
Follow these steps:
Assuming you have downloaded
dkp-air-gapped-bundle_v2.5.2_linux_amd64.tar.gz, extract the tarball to a local directory:CODE
tar -xzvf dkp-air-gapped-bundle_v2.5.2_linux_amd64.tar.gz && cd dkp-v2.5.2
NOTICES.txtfile for 3rd party software attributions in the
Set an environment variable with your registry address:CODE
Run the following command to load the air-gapped
kommanderimage bundle into your private registry:CODE
dkp push image-bundle --image-bundle ./container-images/kommander-image-bundle-v2.5.2.tar --to-registry $REGISTRY_ADDRESS
If you are using DKP catalog applications, run the following command to load the
dkp-catalog-applicationsimage bundle into your private registry:CODE
dkp push image-bundle --image-bundle ./container-images/dkp-catalog-applications-image-bundle-v2.5.2.tar --to-registry $REGISTRY_ADDRESS
If you are using DKP Insights, run the following command to load the
dkp-insightsimage bundle into your private registry:CODE
dkp push image-bundle --image-bundle ./container-images/dkp-insights-image-bundle-v2.5.2.tar --to-registry $REGISTRY_ADDRESS
It can take a while to push all the images to your image registry, depending on the performance of the network between the machine you are running the script on and the registry.
Choose the correct air-gapped environment from the pages in this section.