Skip to main content
Skip table of contents

vSphere Air-gapped Bootstrap

Prerequisites

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

Bootstrap a kind cluster and CAPI controllers

DKP 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. Copy the image tar file to the machine where you want to run the bootstrap cluster.

  2. Load the bootstrap Docker image. The image version should correspond to the version of Konvoy as returned by dkp version:

    CODE
    docker load -i <path to mesosphere/konvoy-bootstrap image>

  3. Create a bootstrap cluster with the command:

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

    The output resembles this example:

    CODE
    ✓ Creating a bootstrap cluster
    ✓ Initializing new CAPI components

  4. Ensure that the CAPV controllers are present with the command:

    CODE
    kubectl get pods -n capv-system

    The output resembles the following:

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

  5. Refresh the credentials used by the vSphere provider at any time, using the command:

    CODE
    dkp update bootstrap credentials vsphere

Next, you can create a new vSphere Kubernetes cluster.

JavaScript errors detected

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

If this problem persists, please contact our support.