From VMware Cloud Director Container Service Extension 3.1.1, users can deploy clusters from the VMware Tanzu® Kubernetes Grid™ (TKGm) templates.
Cloud administrators can import Tanzu Kubernetes OVA files into
VMware Cloud Director through the CSE server client. Once these OVAs are imported into
VMware Cloud Director,
vcd-cli
and Kubernetes Container Clusters UI plugin can be used to deploy clusters from the
Tanzu Kubernetes Grid templates.
Note: If the
Tanzu Kubernetes Grid OVA is imported directly into
VMware Cloud Director through the UI,
VMware Cloud Director Container Service Extension cannot use the template for
Tanzu Kubernetes Grid cluster deployment.
Import OVAs into VMware Cloud Director
To allow tenant users to deploy Kubernetes clusters with Tanzu Kubernetes Grid runtime, it is necessary to import Tanzu Kubernetes Grid OVA into VMware Cloud Director through the VMware Cloud Director Container Service Extension server client.
Use the following command to import
Tanzu Kubernetes Grid OVA into
VMware Cloud Director:
cse template import
The command can upload the OVA from only local disk. For more information about the command functionality, enter this command in the
VMware Cloud Director Container Service Extension server client:
cse template import -h
Use the following command to view the imported templates:
cse template list -d tkg
Note: To ensure the imported templates are visisble to tenant users, it is necessary to restart
VMware Cloud Director Container Service Extension server after you import the templates.
Using Tanzu Kubernetes Grid Templates
Tenant users can specify what Tanzu Kubernetes Grid template they would like to use for deploying Tanzu Kubernetes Grid clusters.
In
vcd-cli
, tenant users can configure
Tanzu Kubernetes Grid templates in the specification file that is supplied to following command:
vcd cse cluster apply
In
vcd-cli
, tenant users can run the following command to view a list of
Tanzu Kubernetes Grid templates that is available to them:
vcd cse template list --tkg
Restrict Tanzu Kubernetes Grid Templates for Tenants
As of VMware Cloud Director Container Service Extension 3.1.1, Tanzu Kubernetes Grid templates are not restricted to any organization virtual data centers for cluster deployment.