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>
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
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
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.