On Google Compute Platform (GCP), Krossboard works as a standalone Compute Engine instance. Each instance discovers and handles GKE clusters on a per GCP project basis. This means that, once deployed within a project, the instance does automatically discover and handle all your GKE clusters belonging to that project.
This guide shows how to setup Krossboard for a given GCP project in a couple of minutes.
First note that Krossboard is published as ready-to-use GCP images. This release approach aims to make its deployment as simple than creating a GCP virtual machine.
This installation guide assumes that:
The commands below shall deploy an instance of Krossboard in a couple of minutes.
Before launching the installation, review and set the following variables suitably:
GCP_PROJECTsets the ID of the target project (i.e. where your GKE clusters are located).
GCP_ZONEsets the deployment zone (default is
GCP_INSTANCE_TYPEsets the instance type (default is
g1-small– what should be sufficient unless the target project holds a big number of GKE clusters along with many namespaces).
# user-provided parameters export GCP_PROJECT="my-gke-project" export GCP_ZONE="us-central1-a" export GCP_INSTANCE_TYPE="g1-small" curl -so krossboard_gcp_install.sh \ https://krossboard.app/artifacts/setup/krossboard_gcp_install.sh && \ bash ./krossboard_gcp_install.sh
If you have the following prompt:
API [compute.googleapis.com] not enabled on project . Would you like to enable and retry (this will take a few minutes)? (y/N)?
yes to enable Compute Engine API.
On success a summary of the installation shall be displayed as below:
=== Summary the Krossboard instance === Instance Name => krossboard-v20200818t1597750044-preview Project => krossboard-demo Krossboard UI => http://22.214.171.124/
Open a browser tab and point it to the Krossboard URL displayed at the end of the installation script. Note: It may take a few seconds before the instance finishes its initialization, during this time you may experience a loading error in the browser.
The default username and password to sign in are:
It’s highly recommended to change this default password as soon as possible.