vSphere Create an Air-gapped Bootstrap Cluster
Prerequisites
Before you perform this procedure, ensure that you have created a CAPI VM template.
Bootstrap cluster lifecycle services
If an HTTP proxy is required for the bootstrap cluster, set the local
http_proxy
,https_proxy
, andno_proxy
environment variables. They are copied into the bootstrap cluster.Create a bootstrap cluster:
CODEdkp create bootstrap --kubeconfig $HOME/.kube/config
The output resembles this example:
CODE✓ Creating a bootstrap cluster ✓ Initializing new CAPI components
Flatcar OS use
--os-hint
to instruct the bootstrap cluster to make some changes related to the installation paths:CODE--os-hint flatcar
The output resembles this example:
✓ 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