AWS Air-gapped Bootstrap
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.
Assuming you have downloaded
dkp-air-gapped-bundle_v2.5.1_linux_amd64.tar.gz
, extract the tarball to a local directory:CODEtar -xzvf dkp-air-gapped-bundle_v2.5.1_linux_amd64.tar.gz && cd dkp-v2.5.1
Set an environment variable with your registry address with this command:
CODEexport REGISTRY_ADDRESS=<registry-address>:<registry-port> export REGISTRY_USERNAME=<username> export REGISTRY_PASSWORD=<password>
Seed the registry by running the following command to load the air-gapped image bundle into your private registry:
CODEdkp push image-bundle --image-bundle ./container-images/konvoy-image-bundle-v2.6.0.tar --to-registry $REGISTRY_ADDRESS --to-registry-username $REGISTRY_USERNAME --to-registry-password $REGISTRY_PASSWORD
Load the bootstrap image on your bastion machine.
CODEdocker load -i konvoy-bootstrap-image-v2.5.1.tar
CODEpodman load -i konvoy-bootstrap-image-v2.5.1.tar
Create a bootstrap cluster:
CODEdkp create bootstrap --kubeconfig $HOME/.kube/config
(Optional) Refresh the credentials used by the AWS provider at any time, using the command:
CODEdkp update bootstrap credentials aws