Configure JFrog artifactory server for K10 air-gapped install

The K10 data management platform is installed as a helm chart via helm package manager. For environments that are connected to the Internet, please follow the installation steps described here.

However, if an air-gapped installation is required, it is possible to use your own private container registry to install K10. While this can always be done manually, the k10offline tool makes it easier to automate the process.

This guide provides a step-by-step approach to configure your JFrog Artifactory server and install K10. Click here for more details about JFrog.


1. After logging into the JFrog dashboard, click on the Gear Icon and select Repositories


2. Create a new Remote Repository

Package Type: Docker
Repository Key: <user defined>
      e.g. kasten-upstream
URL: https://kasten-k10.jfrog.io
Include Patterns:
      kasten-images
      kasten-images/**/* 


3. Create a new Virtual Repository

Repository Key: <user defined>
      e.g. k10
Selected Repositories: <add the remote repository from available repositories list>

In the Advanced tab --> select "Artifactory Requests Can Retrieve Remote Artifacts"


4. Prep helm to pull the new image, and capture latest K10 release version

This will update the repositories helm knows about and make sure that all of the latest references are there. We are also capturing the latest version of K10 in a variable to be used in consecutive commands.

Note: We recommend using Helm v3. All of the commands below are utilizing v3. Since Helm v2 has been deprecated.

helm repo update
export K10_VER=$(helm search repo "k10" -o yaml | head -1 | awk '{print $3}')

 

5. Pull an image from your configured Artifactory repository

Pulling an image from your configured Artifactory will fetch that image from the upstream kasten registry and cache it into Artifactory. If everything is connected correctly, then this command will be successful.

Note:

Note: If you require authorization to your Artifactory, you must login before pulling images from it.

docker login <artifactory_virtual_repo>
docker pull <artifactory_virtual_repo>/kasten-images/k10offline:"$K10_VER"

 

6. Go to the Applications card and verify artifacts under both Virtual and Remote repositories.



7. Fetch the Helm chart for Local Use

helm fetch kasten/k10


8. If the private repository (repo.example.com) has downloaded K10 charts and images from the remote repository, an air-gapped installation can be performed by setting global.airgapped.repository=repo.example.com (shown below)

helm install k10-"$K10_VER".tgz --name k10 --namespace kasten-io \
    --set global.airgapped.repository=repo.example.com


9. There are multiple ways to use a private repository. To pull K10 charts and images locally, and subsequently uploading them to the private repository manually, follow steps outlined here.

Note: K10 helm chart and container images are available at:


10. To view images on a browser, go to this link.