Skip to main content
Skip table of contents

vSphere Air-gapped Seed Docker Registry

Seed your docker registry

Before creating a Kubernetes cluster, you need the required images in a local docker registry. This registry must be accessible from both the bastion machine and the other machines that will be created for the Kubernetes cluster.

  1. Assuming you have downloaded dkp-air-gapped-bundle_v2.4.2_linux_amd64.tar.gz , extract the tarball to a local directory:

    tar -xzvf dkp-air-gapped-bundle_v2.4.2_linux_amd64.tar.gz && cd dkp-v2.4.2
  2. Set an environment variable with your registry address with this command:

    export DOCKER_REGISTRY_ADDRESS=<registry-address>:<registry-port>
    export DOCKER_REGISTRY_USERNAME=<username>
    export DOCKER_REGISTRY_PASSWORD=<password>

If HTTP must be specified in your address variable, use the flag --to-registry-insecure-skip-tls-verify in the push command.

  1. Execute the following command to load the air-gapped image bundle into your private Docker registry:

    dkp push image-bundle --image-bundle ./container-images/konvoy-image-bundle-v2.4.2.tar --to-registry $DOCKER_REGISTRY_ADDRESS --to-registry-username $DOCKER_REGISTRY_USERNAME --to-registry-password $DOCKER_REGISTRY_PASSWORD

It may 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 Docker registry.

Next Step:

Once you have seeded your registry, you begin the cluster building process by Creating the Bootstrap cluster.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.