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).
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:
- Create service accounts for Kubernetes master and worker nodes. See Create Service Accounts for Kubernetes.
- Create a load balancer to access the PKS API. See Create a Load Balancer for the PKS API.
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.
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|
|Ops Manager 2.4|
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.
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
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.
Installing Ops Manager and PKS requires the following virtual machines (VMs):
|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 ResourcesEach 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 firstname.lastname@example.org.