Prerequisites

Before you perform this procedure, ensure that you have created a CAPI VM template.

Bootstrap a kind cluster and CAPI controllers

Konvoy deploys all cluster lifecycle services to a bootstrap cluster, which deploys a workload cluster. When the workload cluster is ready, move the cluster lifecycle services to the workload cluster, after which the workload cluster manages its own lifecycle.

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

    tar -xzvf dkp-air-gapped-bundle_v2.4.0_linux_amd64.tar.gz && cd dkp-v2.4.0
    CODE
  2. Load the bootstrap docker image on your bastion machine.

    docker load -i konvoy-bootstrap-image-v2.4.0.tar
    CODE
  3. Create a bootstrap cluster:

    dkp create bootstrap --kubeconfig $HOME/.kube/config
    CODE

    The output resembles this example:

    ✓ Creating a bootstrap cluster
    ✓ Initializing new CAPI components
    CODE
  4. Ensure that the CAPV controllers are present with the command:

    kubectl get pods -n capv-system
    CODE

    The output resembles the following:

    NAME                                      READY   STATUS    RESTARTS   AGE
    capv-controller-manager-785c5978f-nnfns   1/1     Running   0          13h
    CODE

Next Step:

Create a new vSphere Air-gapped Kubernetes cluster.