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.
-
Pull the bootstrap Docker image and save it as tar.gz locally. The image version should correspond to the version of Konvoy as returned by
dkp version
:docker pull mesosphere/konvoy-bootstrap:<version> && docker save mesosphere/konvoy-bootstrap:<version> -o mesosphere_konvoy-bootstrap:<version>.tar.gz
-
Copy the image tar file to the machine where the bootstrap cluster will run.
-
Load the bootstrap Docker image. The image version should correspond to the version of Konvoy as returned by
dkp version
:docker load -i <path to mesosphere/konvoy-bootstrap image>
-
Create a bootstrap cluster:
dkp create bootstrap --kubeconfig $HOME/.kube/config
-
(Optional) Refresh the credentials used by the AWS provider at any time, using the command:
dkp update bootstrap credentials aws