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.
Copy the image tar file to the machine where you want to run the bootstrap cluster.
Load the bootstrap Docker image. The image version should correspond to the version of Konvoy as returned by
dkp version
:CODEdocker load -i <path to mesosphere/konvoy-bootstrap image>
Create a bootstrap cluster with the command:
CODEdkp create bootstrap --kubeconfig $HOME/.kube/config
The output resembles this example:
CODE✓ Creating a bootstrap cluster ✓ Initializing new CAPI components
Ensure that the CAPV controllers are present with the command:
CODEkubectl get pods -n capv-system
The output resembles the following:
CODENAME READY STATUS RESTARTS AGE capv-controller-manager-785c5978f-nnfns 1/1 Running 0 13h
Refresh the credentials used by the vSphere provider at any time, using the command:
CODEdkp update bootstrap credentials vsphere
Next, you can create a new vSphere Kubernetes cluster.