GCP Prerequisites and Resource Requirements
Note: As of v1.8, Enterprise PKS has been renamed to VMware Tanzu Kubernetes Grid Integrated Edition. Some screenshots in this documentation do not yet reflect the change.
Page last updated:
This topic describes the prerequisites and resource requirements for installing VMware Tanzu Kubernetes Grid Integrated Edition on Google Cloud Platform (GCP).
Prerequisites
You can install Tanzu Kubernetes Grid Integrated Edition on GCP manually or by using Terraform.
Warning: Terraform is no longer supported and not recommended for use. Download Terraform templates from VMware Tanzu Application Service for VMs v2.7.17 or earlier on VMware Tanzu Network.
- Prerequisites for Installing Tanzu Kubernetes Grid Integrated Edition Manually
- Prerequisites for Installing Tanzu Kubernetes Grid Integrated Edition Using Terraform
Installing Tanzu Kubernetes Grid Integrated Edition Manually
If you are installing Tanzu Kubernetes Grid Integrated Edition manually, do the following before deploying Tanzu Kubernetes Grid Integrated Edition:
- Review Resource Requirements below.
- Install and configure Ops Manager. To install and configure Ops Manager, follow the instructions in Installing and Configuring Ops Manager on GCP.
- Create service accounts for Kubernetes master and worker nodes.
To create the service accounts,
follow the instructions in Creating Service Accounts in GCP for Tanzu Kubernetes Grid Integrated Edition.
Note: Perform this step after you install and configure Ops Manager.
- Create a load balancer to access the TKGI API from outside the network
and run
tkgi
commands from your local workstation. To create a load balancer in GCP, follow the instructions in Creating a GCP Load Balancer for the TKGI API.Note: Perform this step before you install Tanzu Kubernetes Grid Integrated Edition. After you install Tanzu Kubernetes Grid Integrated Edition, you must complete the load balancer configuration. To complete the load balancer configuration, do the procedure in Create a Network Tag for the Firewall Rule.
Installing Tanzu Kubernetes Grid Integrated Edition Using Terraform
If you are installing Tanzu Kubernetes Grid Integrated Edition using Terraform, do the following before deploying Tanzu Kubernetes Grid Integrated Edition:
- Review Resource Requirements below.
- Install and configure Ops Manager. To install and configure Ops Manager, follow the instructions in Installing and Configuring Ops Manager on GCP.
Resource Requirements
Installing Ops Manager and Tanzu Kubernetes Grid Integrated Edition requires the following virtual machines (VMs):
VM | CPU | Memory (GB) | Ephemeral Disk (GB) |
---|---|---|---|
BOSH Director | 2 | 8 | 16 |
Ops Manager | 1 | 8 | 160 |
TKGI API | 2 | 8 | 64 |
TKGI Database | 2 | 8 | 64 |
NOTE: VMware recommends deploying TKGI on its own dedicated Ops Manager instance, rather than on a shared Ops Manager that also hosts other runtimes such as Tanzu Application Service.
Storage Requirements for Large Numbers of Pods
If you expect the cluster workload to run a large number of pods continuously, then increase the size of persistent disk storage allocated to the TKGI Database VM as follows:
Number of Pods | Persistent Disk Requirements (GB) |
---|---|
1,000 pods | 20 |
5,000 pods | 100 |
10,000 pods | 200 |
50,000 pods | 1,000 |
Kubernetes Cluster Resources
Each Kubernetes cluster provisioned through Tanzu Kubernetes Grid Integrated Edition deploys the VMs listed below.
If you deploy more than one Kubernetes cluster, you must scale your allocated resources appropriately.
VM | VM Count | CPU Cores | Memory (GB) | Ephemeral Disk (GB) | Persistent Disk (GB) |
---|---|---|---|---|---|
master | 1 | 2 | 4 | 32 | 5 |
worker | 1 | 2 | 4 | 32 | 50 |
Please send any feedback you have to pks-feedback@pivotal.io.