Skip to main content
Skip table of contents

vSphere Bootstrap

Prepare to deploy Kubernetes clusters

To create Kubernetes clusters, Konvoy uses Cluster API (CAPI) controllers, which run on a Kubernetes cluster. To get started creating your vSphere cluster, you need a bootstrap cluster. By default, Konvoy creates a bootstrap cluster for you in a Docker container using the Kubernetes-in-Docker (KIND) tool.

Prerequisites

Before you begin, you must:

Bootstrap cluster lifecycle services

  1. If your environment uses HTTP/HTTPS proxies, you must either set environment variables or 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 Configuring an HTTP/HTTPS Proxy.

  2. Create a bootstrap cluster:

    CODE
    dkp 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 Configuring an HTTP/HTTPS Proxy.

    The output resembles this example:

    CODE
    ✓ Creating a bootstrap cluster
    ✓ Initializing new CAPI components

    Konvoy creates a bootstrap cluster using KIND as a library. Konvoy then deploys the following Cluster API providers on the cluster:

  3. 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

  4. Konvoy waits until the controller-manager and webhook deployments of these providers are ready. List these deployments using this command:

    CODE
    kubectl get --all-namespaces deployments -l=clusterctl.cluster.x-k8s.i

    The output resembles the following:

    CODE
    NAMESPACE                           NAME                                            READY   UP-TO-DATE   AVAILABLE   AGE
    capa-system                         capa-controller-manager                         1/1     1            1           22m
    capi-kubeadm-bootstrap-system       capi-kubeadm-bootstrap-controller-manager       1/1     1            1           22m
    capi-kubeadm-control-plane-system   capi-kubeadm-control-plane-controller-manager   1/1     1            1           22m
    capi-system                         capi-controller-manager                         1/1     1            1           22m
    cappp-system                        cappp-controller-manager                        1/1     1            1           22m
    capv-system                         capv-controller-manager                         1/1     1            1           22m
    capz-system                         capz-controller-manager                         1/1     1            1           22m
    cert-manager                        cert-manager                                    1/1     1            1           22m
    cert-manager                        cert-manager-cainjector                         1/1     1            1           22m
    cert-manager                        cert-manager-webhook                            1/1     1            1           22m

Next Step:

Create new vSphere Cluster

JavaScript errors detected

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

If this problem persists, please contact our support.