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
docker load -i <path to mesosphere/konvoy-bootstrap image>CODE
Create a bootstrap cluster with the command:
dkp create bootstrap --kubeconfig $HOME/.kube/configCODE
The output resembles this example:
✓ Creating a bootstrap cluster ✓ Initializing new CAPI componentsCODE
Ensure that the CAPV controllers are present with the command:
kubectl get pods -n capv-systemCODE
The output resembles the following:
NAME READY STATUS RESTARTS AGE capv-controller-manager-785c5978f-nnfns 1/1 Running 0 13hCODE
Refresh the credentials used by the vSphere provider at any time, using the command:
dkp update bootstrap credentials vsphereCODE
Next, you can create a new vSphere Kubernetes cluster.