KOP Upstream Clusters - Provision - Rafay Product Documentation

Provision

These instructions guide you through provisioning a managed upstream Kubernetes cluster using the prepackaged OVA image in your vSphere environment.

Step 1: Create Cluster

Configure and create a cluster object in the Controller in the Web Console. This will generate cluster activation secrets for this cluster. You will use this to bring up a VM on vSphere. Optionally, you can inject this into the Cloud Init template.

As an Org Admin or Infrastructure Admin for a Project.

Important

The maximum character size supported for a MKS cluster name is 63 characters.

Note

Selecting node auto approval will help avoid a manual approval step in the provisioning process. It is highly recommended for controlled environments where automation is critical. Example: controlled, factory type assembly environments.

K8s Version

A default K8s version is packaged in the provided OVA image. If a different Kubernetes version is selected, it will be automatically downloaded by the Controller and used for provisioning. This will require additional time for provisioning and will require downloading the K8s version over the Internet.

Step 2: Download OVA and Credentials

Download the OVA file and the credentials (credentials and passphrase files) from the installation instructions. The files are unique to this cluster.

Important

The credential files are unique to this cluster and cannot be reused with other clusters.

Step 3: Launch VM

By default, the VM launched via OVA image has SSH enabled.

Note

The filenames for the Passphrase and Credentials files must match in the command. You can change the names in the command to match the names of your files.

Step 4: Configure Cluster

In the Web Console, you will see that the node has been discovered and approved. Click on Configure and follow the wizard.

Master Role

Enable Master role. This will configure the node to act as a Kubernetes master.

Storage

The Controller auto-detects and displays the available volumes. Select the correct volume from the dropdown (currently “/dev/sdb” with a capacity of 50GB).

Interface

The controller auto-detects and displays the available interfaces. Select the correct interface from the dropdown.

Ingress IP

In this step, we will configure the IP of the cluster node where you expect to receive incoming traffic. Applications (workloads) deployed on the managed cluster can be accessed on this IP.

Step 5: Provision Cluster

Once configured, Click on “Provision” to provision the cluster and wait for the process to complete.

Important

If you selected a multi master, HA cluster configuration, you will have to configure at least three nodes before you will be allowed to provision the cluster.

Depending on the resources provided to the VM, the provisioning process can take ~5 minutes to complete. Progress and status updates will be displayed to the user during this process as the software components are configured in the VM.

Step 6: Validate Provisioning

Once the cluster is provisioned, verify the following:

Control Plane

This should show as Green and report status as HEALTHY. This means that the k8s cluster operating in vSphere is in a healthy state.

Reachability Check

This should report status as SUCCESS. In addition, the “Last Check in Time” should be within a minute. This means that a heartbeat has been established between the Kubernetes cluster on vSphere and the Controller.

To view the cost details of this cluster, click on the available cost link. This will navigate you to the Cost Explorer page, where you can access detailed cost information for this specific cluster.

An illustrative screenshot of a “successfully” provisioned cluster in the Web Console is shown below.