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

Before you install Enterprise PKS, you must install one of the following:

  • Ops Manager v2.4.2 or later
  • Ops Manager v2.5.x
  • Ops Manager v2.6.x

For more information, see Install and Configure Ops Manager below.

You can install Enterprise PKS on GCP manually or by using Terraform. If you are installing Enterprise PKS manually, before you install Enterprise PKS, you must also do the following:

Install and Configure Ops Manager

Note: You use Ops Manager to install and configure Enterprise PKS. Each version of Ops Manager supports multiple versions of Enterprise PKS. To confirm that your Ops Manager version supports the version of Enterprise PKS that you install, see Enterprise PKS Release Notes.

To install a compatible Ops Manager version, follow either the manual or Terraform instructions in the table below:

Version Manual Instructions Terraform Instructions
Ops Manager 2.4
  1. Preparing to Deploy Ops Manager on GCP Manually
  2. Deploying Ops Manager on GCP Manually
  3. Configuring BOSH Director on GCP Manually
  1. Deploying Ops Manager on GCP Using Terraform
  2. Configuring BOSH Director on GCP Using Terraform
Ops Manager 2.5
  1. Preparing to Deploy PCF on GCP Manually
  2. Deploying BOSH and Ops Manager to GCP Manually
  3. Configuring BOSH Director on GCP Manually
  1. Deploying Ops Manager on GCP Using Terraform
  2. Configuring BOSH Director on GCP Using Terraform
Ops Manager 2.6
  1. Preparing to Deploy PCF on GCP Manually
  2. Deploying BOSH and Ops Manager to GCP Manually
  3. Configuring BOSH Director on GCP Manually
  1. Deploying Ops Manager on GCP Using Terraform
  2. Configuring BOSH Director on GCP Using Terraform

Create Service Accounts for Kubernetes

If you are installing Enterprise PKS manually: After you install and configure Ops Manager, you must create service accounts for Kubernetes master and worker node VMs in your Enterprise PKS deployment. To create the service accounts, follow the procedures in Creating Service Accounts in GCP for Enterprise PKS.

Create a Load Balancer for the PKS API

If you are installing Enterprise PKS manually: You must create an external TCP load balancer before you install Enterprise PKS. This load balancer enables you to access the PKS API from outside the network and run pks commands from your local workstation. To create a load balancer in GCP, do the procedures in Creating a GCP Load Balancer for the PKS API.

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.

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.