You can install Tanzu Kubernetes Grid on VMware Cloud infrastructures that provide a vSphere interface and environment on public cloud infrastructures.
The following sections explain how to prepare VMware Cloud and its networking on a cloud infrastructure and create a bootstrap machine for deploying Tanzu Kubernetes Grid.
On a VMware Cloud infrastructure, the bootstrap machine is not a local physical machine. The bootstrap machine is a cloud VM jumpbox that connects vSphere with its underlying infrastructure.
To run Tanzu Kubernetes Grid on VMware Cloud on AWS, set up a Software-Defined Data Center (SDDC) and create a bootstrap VM. The bootstrap machine is a VM managed through vCenter.
Ensure that you have a VMware Cloud deployment on AWS. See Getting Started with VMware Cloud on AWS.
Do the following to prepare the VMware Cloud on AWS environment for deploying Tanzu Kubernetes Grid:
Log in to the VMware Cloud Console and create a new SDDC.
For instructions, see Deploy an SDDC from the VMC Console in the VMware Cloud on AWS documentation.
After you click Deploy SDDC, the SDDC creation process typically takes 2-3 hours.
After the SDDC is created, open its pane in the VMC Console.
Click Networking & Security > Network > Segments.
The Segment List shows sddc-cgw-network-1
with a subnet CIDR of 192.168.1.1/24
, giving 256 addresses.
If you need more internal IP addresses, do one of the following:
sddc-cgw-network-1
and modify its subnet CIDR to something broader, for example 192.168.1.1/20
.Or
sddc-cgw-network-1
or any other existing segments.Open sddc-cgw-network-1
and any other network segments you added.
For each segment, click Edit DHCP Config. A Set DHCP Config pane appears.
In the Set DHCP Config pane:
To enable access to vCenter, add a firewall rule or set up a VPN.
For instructions, see Connect to vCenter Server in the VMware Cloud on AWS documentation.
To confirm access to vCenter, click Open vCenter at the top right corner in the SDDC pane. The vCenter client should appear.
From the vCenter portal, deploy and enable access to your bootstrap machine.
For instructions, see Deploy Workload VMs in the VMware Cloud on AWS documentation.
To log in to the bootstrap machine, click Launch Web Console on its vCenter summary pane.
Optionally, if you want to ssh
in to the bootstrap machine, in addition to using the web console within vCenter, see Set Up a VMware Cloud Bootstrap Machine for ssh
.
NoteWhen installing the Tanzu CLI, deploying management clusters, and performing other operations, follow the instructions for vSphere, not the instructions for Amazon Web Services (AWS).
ssh
To set up your bootstrap machine for access via ssh
, follow these procedures in the VMware Cloud for AWS documentation:
Assign a Public IP Address to a VM to request a public IP address for the bootstrap machine.
Create or Modify NAT Rules to create a NAT rule for the bootstrap machine, configured with:
The Procedure in Add or Modify Compute Gateway Firewall Rules to add a compute gateway rule allowing access to the VM.
To run Tanzu Kubernetes Grid on Azure VMware Solution (AVS), set up AVS and its Windows 10 jumphost. The jumphost serves as the bootstrap machine for Tanzu Kubernetes Grid.
Ensure that you have an Azure VMware Solution deployment. See Azure VMware Solution documentation.
Do the following to prepare the Azure VMware Solution environment for deploying Tanzu Kubernetes Grid:
Log in to NSX Manager as admin
.
Unless you are intentionally deploying to an air-gapped environment, confirm that AVS is configured to allow Internet connectivity for AVS-hosted VMs. Internet connectivity is not enabled by default. To configure Internet connectivity, you can either:
Allow Internet access via the AVS Express Route connection to the Azure network by logging into the Azure portal, navigating to the AVS Private Cloud object, selecting Manage > Connectivity, flipping the Internet enabled toggle to Enabled, and clicking Save.
Under Networking > Connectivity > Segments, click Add Segment, and configure the new segment with:
avs_tkg
192.168.20.1/24
192.168.20.10-192.168.20.100
. This range must exclude a pool of subnet addresses that DHCP cannot assign, leaving them free to serve as static IP addresses for workload clusters.NoteAfter you create the segment, it should be visible in vCenter.
From the IP Management > DHCP pane, click Add Server, and configure the new DHCP server with the following:
avs_tkg_dhcp
192.168.30.1/24
.Under Networking > Connectivity > Tier-1 Gateways, open the predefined gateway.
Click the Tier-1 gateway’s IP Address Management setting and associate it with the DHCP server created above.
If your AVS environment was created before July 2021 do the following to configure a DNS forwarder in NSX Manager or the Azure portal:
NSX Manager:
avs_tkg_dns_zone
.avs_tkg_dns_svc
.192.168.40.1
.Azure Portal:
avs_tkg_dns_zone
.avs_tkg_dns_svc
.192.168.40.1
When installing the Tanzu CLI, deploying management clusters, and performing other operations, follow the instructions for vSphere, not the instructions for Azure. Configure the management cluster with:
To run Tanzu Kubernetes Grid on Google Cloud VMware Engine (GCVE), set up GCVE and a bootstrap machine for Tanzu Kubernetes Grid.
Ensure that you have an Google Cloud VMware Engine (GCVE) deployment. See Purchase GCVE Through VMware and Google Cloud VMware Engine documentation.
Before doing the following steps, you should have set up an SDDC.
Do the following to prepare the Google Cloud VMware Engine (GCVE) environment for deploying Tanzu Kubernetes Grid:
admin
.Add a network segment.
gcve_tkg
.192.168.20.1/24
192.168.1.2/24
. The DHCP should belong to the same subnet.192.168.1.80-192.168.1.254
10.107.0.9
After you create the segment, it is visible in vCenter.
Do the following to set up a VM as a bootstrap machine:
Allocate a Public IP Address for the bootstrap machine.
192.168.1.80
Create a new firewall table and add a firewall rule.
Attach the firewall table to a subnet.
For more information about creating a Firewall table in GCVE, see Firewall tables.
You use a solution user account set up Tanzu Kubernetes Grid, which requires administrative privileges. A solution user account can perform administrative actions such as adding more users, identity sources, and VMware and third-party tools.
For more information about solution user accounts, see Using solution user accounts.
Update the password for the solution user account before you use the solution user account before installing the Tanzu CLI and deploying the management cluster. To update the password of the solution user account, see Prepare a solution user account.