LATEST VERSION: v1.4 - RELEASE NOTES
Pivotal Container Service v1.3

GCP Prerequisites and Resource Requirements

Page last updated:

This topic describes the prerequisites and resource requirements for installing Pivotal Container Service (PKS) on Google Cloud Platform (GCP).

Prerequisites

Before you install PKS, you must install either Ops Manager v2.3.1 or later, or Ops Manager v2.4.x. See Install and Configure Ops Manager.

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

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

Install and Configure Ops Manager

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.3
  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.4
  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 PKS manually: After you install and configure Ops Manager, you must create service accounts for Kubernetes master and worker node VMs in your PKS deployment. To create the service accounts, follow the procedures in Creating Service Accounts in GCP for PKS.

Create a Load Balancer for the PKS API

If you are installing PKS manually: You must create an external TCP load balancer before you install 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 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 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 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.

Create a pull request or raise an issue on the source for this page in GitHub