Install VCD Data Solutions Extension in an Airgap Environment

In my last post of the VCD series, I discussed the installation & Configuration of VCD Data Solutions Extensions. In this post, I will walk through configuring the same in an airgap environment.

In an airgap environment, artifacts are stored in an internal registry such as Harbor, Jfrog, etc. To install data solutions extension in the airgap environment, you must first relocate the artifacts from the VMware public registry to your internal registry.

Step 1: Relocate Artifacts

To relocate the artifacts, you can install a Linux machine with imgpkg and doker utilities.

Run the following commands to relocate artifacts:

Note: The flag –registry-ca-cert-path is only needed if your registry uses self-signed certificates.

Also, you need to copy the data-solution-operator and data-solution-package-repo to your internal registry.

2: Configure Private Image Registry

Login to the VCD provider portal, navigate to More > Data Solutions >  Container Registries and click on the Add button to add your internal image registry. 

Enter the registry fqdn and credentials and click on the Save button.

Update the URL for the artifacts by pointing the image path to your private registry.

Click on the vertical ellipsis button of any artifact and select Update.

The below screenshot shows the example of updating the RabbitMQ image location and version.

That’s how the image URL looks for the artifacts in my lab.

Note: I haven’t found a way for MongoDB and Confluent yet, so I used the default settings for these artifacts. 

Before installing the data solution instance, ensure that the package Repository status shows “Reconcile succeeded”

You can describe a package repository to see the related events. 

You are now ready to deploy instances from your internal registry. 

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing.

One thought on “Install VCD Data Solutions Extension in an Airgap Environment

Leave a Reply