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. Review Universal Configurations for all Infrastructure Providers regarding settings, flags and other choices and then begin bootstrapping.

  2. Create a bootstrap cluster:

    YAML
    dkp create bootstrap --kubeconfig $HOME/.kube/config
HTTP Only:

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>
  1. 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:

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

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

vSphere Create a New Cluster

JavaScript errors detected

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

If this problem persists, please contact our support.