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 these two methods.

Create the cluster directly from Google Marketplace:

By creating the cluster directly from Google Marketplace, you'll create a cluster with default settings.

Log into the Google Cloud Console with your credentials.

Create a cluster directly from clicking the Configure button from Google Marketplace.

Use the default values and click on the More button to reveal the Reporting Service Account.

kubernetes_deploy2

Select the desired Reporting Service Account:

kubernetes_deploy1

Click Create cluster.
Find out how to deploy TBSP on Google Cloud here.

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 side bar, navigate to Clusters. On this page, select Create Cluster.

Create a "Standard Cluster".

kubernetes_deploy1a

Find out how to deploy TBSP on Google Cloud here.

Return to Getting Started