This page provide users with a quick overview on how to create a VMware vCloud Director cluster.
Deploy simple 1 master and 2 work node Kubernetes cluster for demo purposes.
First download and install Kublr-in-a-box at https://kublr.com/demo. Kublr support vCloud Director 9.x.
System requirements for the cluster nodes
Next, prepare a VM template:
More details are available in vCloud Director documentation
Powered by Kublr, Vanilla Kubernetes Cluster does not include any advanced Kublr features, suitable for running workloads.
See some cluster parameters description here.
To add a new cluster:
On the left menu, click Clusters.
Click Add Cluster.
The Select Installation Type dialog is displayed.
In the Select Installation Type dialog, click Cluster.
Click Continue Setup.
The ADD CLUSTER dialog is displayed.
In the ADD CLUSTER dialog, set Provider to “VMware vCloud Director”.
From the Credentials list, select previously created VMware vCloud Director credentials.
If credentials were not created previously, use Add New Credentials.
Specify Cluster Name.
Select Virtual Data Center.
Select Kublr Agent.
Select Kubernetes Version.
If necessary, expand the Advanced Options and set them.
Scroll to the Network Configuration
section.
In the Network Type, select one of the available types:
Click the INSTANCES
step.
Use the Master Configuration
section.
Specify the parameters of the master node(s) of your cluster as described below.
From the Masters list, select the number of master nodes.
Set Master X: IP for each node.
For 3 and 5 master nodes configuration, optionally specify Load Balancer Address.
Select VM Template from the list (If you don’t have template, please create one as specified here.)
Set:
If necessary, expand the Advanced Options and set them.
Scroll to the Instance Group
section (default name group1
).
Specify the parameters of the work node(s) in your group as described below.
Select IP Address Allocation Mode.
Enter number of Nodes to be provisioned in the node group.
Select VM Template from the list (If you don’t have template, please create one as specified here.)
Set:
If necessary, set your own name for the instance group.
Note You can also clone or delete the current instance group, or add another one.
If necessary, expand the Advanced Options and set them.
Optionally, click the FEATURES
step.
If necessary, add features to your cluster, specifying parameters under:
Click the REVIEW & CREATE
step.
Review your cluster parameters.
At the bottom of the dialog, click CONFIRM AND INSTALL.
A notification is displayed “Your cluster is being created. It might take a few minutes.”
In the notification window, click OK.
Your new cluster page is displayed on the Events tab showing the cluster creation progress.
Congratulations! You’ve just deployed a vCloud Director cluster in Kublr.