Google Kubernetes Engine (GKE) is a managed, production-ready environment for deploying containerized applications. GKE makes it easy to deploy, update, and manage containerized applications and services. GKE isn’t just for stateless applications either; you can attach persistent storage, and even run a database in your cluster.
You should see the Cloud Shell console similar to this:
Start the GKE cluster
We will create a GKE cluster that meets the prerequisites for installing ROBIN Storage. The GKE cluster prerequisites are:
- Ubuntu OS image
- Minimum 4 vCPUs and 4GB memory per node
- The Cluster has access to GCP disks and storage APIs. If you are not sure, select “Allow full access to all Cloud APIs” while creating GKE cluster
The following command creates a 2-node GKE cluster in the “us-west1-a” region. We are using the machine type “n1-standard-4” to meet the vCPUs and memory requirement and Ubuntu OS image.
Run the below command in shell:
It may take a few minutes for the cluster to be created and ready to use. Once the cluster is ready you should be able to see it in your Google Cloud Console.
How to Install ROBIN Storage on GKE
Now let’s install ROBIN Storage to bring advanced data management capabilities to GKE. On your Google Cloud Console, click on the “Marketplace” tab on the left-hand side menu.
Search for ROBIN Storage in the marketplace and click on the ROBIN Storage app in the search results. Once on the ROBIN Storage page, click on the “Purchase Plan” button to enable ROBIN Storage on your Google Cloud Platform account.
On the “Purchase Plan” page, go to the bottom of the page and click on “Purchase”. The plan should activate and you should return to the ROBIN Storage page. This time, click on the “Configure” button.
On the resulting screen, select the recently created cluster, and type “YES” in the “Cluster Requirements” textbox, as we know our cluster meets the prerequisites. In the Storage disks input field, let’s set size=100. Click on “Deploy” to install ROBIN Storage on your GKE cluster.
It may take a few minutes to complete the deployment. Once the deployment is complete you should be taken to “Application Details” page where you can see the ROBIN Storage application.
Get started with ROBIN Storage
Once the installation is complete, you can get details about robin cluster by running following commands in the Cloud Shell.
The resulting output should have the connect-command to connect with ROBIN. If the “Connect_command” field has no value yet, it means ROBIN is still being installed in the background. Wait for a few minutes and try again.
Copy the command and run it to connect with ROBIN. After connecting to Robin container you can login as “admin” user. Default password is ‘Robin123’.
robin login admin
You can verify the installation by running
Let us setup Helm now. Robin has helper utilities to initialize Helm.
Before proceeding, let’s make sure all necessary workloads (pods) are running properly. Click on the “Workloads” tab on the left-hand panel, and wait for the status of all workloads to be shown as ”OK” with a green check next to them.
Once ROBIN Storage is deployed on GKE using Helm, you can deploy many different databases to bring advanced data management to your stateful workloads.
This concludes the Install ROBIN Storage on GKE tutorial. Also, here is a video if you prefer to view and follow the installation steps.