Skip to main content
Skip table of contents

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

  1. If an HTTP proxy is required for the bootstrap cluster, set the local http_proxy, https_proxy, and no_proxy environment variables. They are copied into the bootstrap cluster.

  2. Create a bootstrap cluster:

    CODE
    dkp create bootstrap --kubeconfig $HOME/.kube/config

    The output resembles this example:

    CODE
    ✓ Creating a bootstrap cluster
    ✓ Initializing new CAPI components
HTTP Only flags:

To create a bootstrap cluster in a proxied environment use this command syntax, in addition to any other flags you may need:

CODE
  --http-proxy <string> \
  --https-proxy <string> \
  --no-proxy <string>
  • 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:

CODE
✓ Creating a bootstrap cluster
✓ Initializing new CAPI components
  1. 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

Next Step

vSphere Create a New Air-gapped Cluster

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.