How to set up a Kubernetes cluster

This section describes how you can set up your Kubernetes Cluster for use with TBSP on the Google Cloud Platform.

Note that multiple nodes of TBSP can also be installed in a single Kubernetes cluster, and that TBSP can run either in a single Kubernetes cluster or multiple clusters.

Increase the Compute Engine API quota

NOTE: If this is your first time using Google Cloud Platform, you will have to upgrade your GCP account in order to be able to increase the Compute Engine API quota. You will not be able to deploy TBSP on Google Cloud Platform if this quota is under 30 GB.

Before you begin, increase the quota of the Compute Engine API. 

Navigate to IAM > Quotas.

Filter for the following:

  • the Compute Engine API service
  • the CPUs metric.

Screen Shot 2020-02-12 at 9.08.47 AM

Select the Compute Engine API for your location, such as europe-west1.

Click the button Edit Quotas above.

Screen Shot 2020-02-12 at 10.44.18 AM-1

A side panel will appear. In this panel, set the quota limit to 30 GB and provide a description of your request.

Screen Shot 2020-02-12 at 10.44.34 AM

You will then see the following response:

Screen Shot 2020-02-12 at 10.41.51 AM

Minimum requirements

Note that your cluster requires these minimum settings to run TBSP on Google Cloud:

  • 30 GB of memory
  • 3 nodes
  • 10 vCPUs
  • autoscaling enabled (you can run up to 10 TBSP instances).

Create a cluster

If you do not have an existing cluster, you can create a cluster with the method below.

Please do not create the cluster directly from the Google Marketplace page.

Create the cluster using the cluster creation page

By creating the cluster from the cluster creation page, you can customize your cluster.

Log into the Google Cloud Console with your credentials.

In the sidebar, navigate to Clusters. On this page, select Create Cluster.

In Cluster Basics, select the Kubernetes version 1.14.10-gke.36. We recommend that you use this version.

Screen Shot 2020-06-19 at 3.11.05 PM

In the sidebar, navigate to Node Pools > default pool >Nodes. Here, select the machine type n1-standard-4 (4 vCPU, 15 GB memory)

Then, click Create to create your Kubernetes cluster. 

Screen Shot 2020-06-19 at 3.10.29 PM

Find out how to deploy TBSP on Google Cloud here.

Return to Getting Started