GCP Prerequisites and Resource Requirements

Page last updated:

This topic describes the prerequisites and resource requirements for installing Enterprise Pivotal Container Service (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 RAM Storage
Pivotal Container Service 2 8 GB 16 GB ^*
Pivotal Ops Manager 1 8 GB 160 GB
BOSH Director 2 8 GB 16 GB

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 the Pivotal Container Service VM as follows:

Number of Pods Storage (Persistent Disk) Requirement ^*
1,000 pods 20 GB
5,000 pods 100 GB
10,000 pods 200 GB
50,000 pods 1,000 GB

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 Name Number CPU Cores RAM Ephemeral Disk Persistent Disk
master 1 2 4 GB 32 GB 5 GB
worker 1 2 4 GB 32 GB 50 GB

Please send any feedback you have to pks-feedback@pivotal.io.