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
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.4.2_linux_amd64.tar.gz
, extract the tarball to a local directory:CODEtar -xzvf dkp-air-gapped-bundle_v2.4.2_linux_amd64.tar.gz && cd dkp-v2.4.2
Load the bootstrap docker image on your bastion machine.
CODEdocker load -i konvoy-bootstrap-image-v2.4.2.tar
Create a bootstrap cluster:
CODEdkp create bootstrap --kubeconfig $HOME/.kube/config
If your environment uses HTTP/HTTPS proxies, you must include the flags
--http-proxy
,--https-proxy
, and--no-proxy
and their related values in this command for it to be successful. More information is available in Configure HTTP Proxy.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
Next Step:
Create a new vSphere Air-gapped Kubernetes cluster.