Deploy a Management cluster using the Kubernetes cluster template.
Prerequisites
- You require a role with Infrastructure Lifecycle Management privileges.
- You must have uploaded the Virtual Machine template to VMware Telco Cloud Automation.
- You must have onboarded a vSphere VIM.
- You must have created or uploaded a Management cluster template.
- A network must be present with the DHCP range and the static IP address of the same subnet.
Procedure
- Log in to the VMware Telco Cloud Automation web interface.
- Go to Infrastructure > CaaS Infrastructure and click Deploy Kubernetes Cluster.
- If you have saved a validated Management cluster configuration that you want to replicate on this cluster, click Upload on the top-right corner and upload the JSON file. The fields are then auto-populated with this configuration information and you can edit them as required. You can also use the Copy Spec function of VMware Telco Cloud automation instead of JSON file, for details, see Copy Spec and Deploy New.
- If you want to create a Management cluster configuration from the beginning, perform the next steps.
- Select a cloud on which you want to deploy the Kubernetes cluster.
- Click Next.
- The Select Cluster Template tab displays the available Kubernetes cluster templates. Select the Management Kubernetes cluster template that you have created.
Note: If the template displays as
Not Compatible, edit the template and try again.
- Click Next.
- In the Kubernetes Cluster Details tab, provide the following details:
- In an air-gapped environment:
- If you have added an air-gapped repository, select the repository using the Airgap Repository drop-down menu.
- If you have not added an air-gapped repository yet and want to add one now, select Enter Repository Details:
- Name - Provide a name for your repository.
- FQDN - Enter the URL of your repository.
- CA Certificate - If your air-gapped repository uses a self-signed certificate, paste the contents of the certificate in this text box. Ensure that you copy and paste the entire certificate, from
----BEGIN CERTIFICATE----
to ----END CERTIFICATE----
.
- In the Harbor Details, choose the Harbor Repository from the drop-down menu.
- Click Next.
- In the Master Node Configuration tab, provide the following details:
- vSphere Cluster (Optional) - If you want to use a different vSphere Cluster for the Master node, select the vSphere cluster from here.
- Resource Pool (Optional) - If you want to use a different resource pool for the master node, select the resource pool from here.
- Datastore (Optional) - If you want to use a different datastore for the master node, select the datastore from here.
- Network - Associate a management or a private network. Ensure that the management network connects to a network where DHCP is enabled, and can access the VMware Photon repository.
- Domain Name Servers - You can override the DNS. To add a DNS, click Add.
- Click Next.
- In the Worker Node Configuration tab, provide the following details:
- vSphere Cluster (Optional) - If you want to use a different vSphere Cluster for the worker node, select the vSphere cluster from here.
- Resource Pool (Optional) - If you want to use a different resource pool for the worker node, select the resource pool from here.
- Datastore (Optional) - If you want to use a different datastore for the worker node, select the datastore from here.
- Network - Associate a management or a private network. Ensure that the management network can access the VMware Photon repository.
- Domain Name Servers - You can override the DNS. To add a DNS, click Add.
- Click Next and review the configuration. You can download the configuration and reuse it for deploying a cluster with a similar configuration.
- Click Deploy.
If the operation is successful, the cluster is created and its status changes to
Active. If the operation fails, the cluster status changes to
Not Active. If the cluster fails to create, delete the cluster, upload the previously downloaded configuration, and recreate it.
Results
The Management cluster is deployed and VMware Telco Cloud Automation automatically pairs it with the cluster's site.
What to do next
- You can view the Kubernetes clusters deployed through VMware Telco Cloud Automation from the Kubernetes Cluster tab.
- To view more details of the Kubernetes cluster that you have deployed, change the password, or to add syslog servers, go to CaaS Infrastructure > Cluster Instances and click the cluster.