GCP Prerequisites and Resource Requirements

Page last updated:

This topic describes the prerequisites and resource requirements for installing VMware Enterprise PKS on Google Cloud Platform (GCP).

Prerequisites

You can install Enterprise PKS on GCP manually or by using Terraform.

Installing Enterprise PKS Manually

If you are installing Enterprise PKS manually, do the following before deploying Enterprise PKS:

  1. Review Resource Requirements below.
  2. Install and configure Ops Manager. To install and configure Ops Manager, follow the instructions in Installing and Configuring Ops Manager on GCP.
  3. Create service accounts for Kubernetes master and worker nodes. To create the service accounts, follow the instructions in Creating Service Accounts in GCP for Enterprise PKS.

    Note: Perform this step after you install and configure Ops Manager.

  4. Create a load balancer to access the PKS API from outside the network and run pks commands from your local workstation. To create a load balancer in GCP, follow the instructions in Creating a GCP Load Balancer for the PKS API.

    Note: Perform this step before you install Enterprise PKS. After you install Enterprise PKS, 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 Enterprise PKS Using Terraform

If you are installing Enterprise PKS using Terraform, do the following before deploying Enterprise PKS:

  1. Review Resource Requirements below.
  2. 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 Enterprise PKS requires the following virtual machines (VMs):

VM CPU Memory (GB) Ephemeral Disk (GB)
BOSH Director 2 8 16
Ops Manager 1 8 160
PKS API 2 8 64
PKS Database 2 8 64

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 PKS 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 Enterprise PKS 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.