After you create a namespace in the Cloud Consumption Interface (CCI), you can select or create a Tanzu Kubernetes Grid cluster that you can deploy on a Supervisor or use as an IaaS resource.
Create a TKG cluster
To create a new Tanzu Kubernetes cluster associated with the namespace, you use the TKG cluster wizard. As you work through the wizard, the pane on the right side of the page displays the YAML code for the cluster you are creating. The following procedure describes how to use the new Tanzu Kubernetes cluster wizard.
- On the Supervisor Namespaces page, click your namespace.
- Under Services, click Open on the Tanzu Kubernetes Grid service tile.
- On the Tanzu Kubernetes Grid service page, cick Create.
A wizard guides you through the process of creating a new cluster.
- For the configuration type, select the cluster type and the configuration that you want to use to provision the cluster.
For the configuration, you can choose either the default configuration or a custom configuration based on the v1alpha2 API. If you select Custom Configuration, additional configuration settings appear:
- General Settings. To define storage and networking for the cluster.
- Control Plane. To define the topology of the cluster controller.
- Nodepools. To define a group of worker nodes sharing the same resource allocation and storage.
- Click Next to review and confirm.
The YAML code that defines the TKG cluster is displayed in the YAML section at the right side of the page. To download a zipped copy of the YAML file generated by the wizard, click the Download .Zip button.
- After confirming the TKG cluster configuration as shown in the YAML code, click Finish.
- For the configuration type, select the cluster type and the configuration that you want to use to provision the cluster.
View and edit a TKG cluster
After you create a TKG cluster, you can click the cluster name on the TKG Services page to display summary information for that instance. Using selections on the summary page, you can:
- Edit the control plane for the number of replicas or for the specified virtual machine class.
- Edit the nodepools for the number of replicas or for the specified virtual machine class.
- Add Volumes to the cluster.
- Download the kubeconfig file that you can use to interact with the TKG cluster instead of using CCI to login to the provisioned TKG cluster.