GCP
Instructions to install in GCP infra
Minimal Installation:
You need a system with a minimum of 16 CPUs. We recommend using 3 nodes with 8 cores each, totalling 48GB.
All machines must reside in the same zone to avoid data transfer charges across zones. Our Obsrv installer will automatically create the GKE cluster for you.
Networking Environment:
The networking requirements change w.r.t the type of cluster we are creating. Follow this link to find out different types of clusters supported by Google Cloud in the region you are installation.
By default our setup script creates a Single Zonal Public Cluster and the required VPC’s for it.
Infrastructure Requirements
1. System Specifications
CPU Requirements:
Minimum: 16 CPUs.
Recommended: 2 nodes with 8 cores each and 32GB total RAM.
The installation includes both lakehouse and real-time OLAP storage by default. If lakehouse is not needed, the requirements remain the same (16 CPUs, 32GB RAM).
Zone Constraints: All instances must be in the same GCP zone to avoid inter-zone data transfer costs. The Obsrv installer will automatically create the GKE (Google Kubernetes Engine) cluster.
2. Networking Setup
Cluster Type: The default setup creates a Single Zonal Public Cluster.
More Options: Refer to GCP Cluster Types for alternatives.
Prerequisites
Before starting installation, install the following CLI tools on your Linux-based system:
Tool
Version
Installation Command
Official Documentation
Terraform
1.5.x or earlier
curl "https://releases.hashicorp.com/terraform/1.5.2/terraform_1.5.2_linux_amd64.zip" -o terraform.zip && unzip terraform.zip && sudo mv terraform /usr/local/bin/ && rm terraform.zip
Terragrunt
0.48 or later
curl -OL https://github.com/gruntwork-io/terragrunt/releases/download/v0.49.0/terragrunt_linux_amd64 && sudo mv terragrunt_linux_amd64 /usr/local/bin/terragrunt && sudo chmod +x /usr/local/bin/terragrunt
Helm
3.10.2 or later
curl https://get.helm.sh/helm-v3.10.2-linux-amd64.tar.gz -o helm.tar.gz && tar -zxvf helm.tar.gz && sudo mv linux-amd64/helm /usr/local/bin/
Google Cloud SDK
Latest
gcloud init && gcloud auth application-default login
Install plugin: gcloud components install gke-gcloud-auth-plugin
Installation Steps
1. Clone the Obsrv Repository
2. Configure the Kubernetes Cluster
Update Configuration File:
Edit
vars/cluster_overrides.tfvarswith your GCP-specific values:Create the GCP Config File:
Create
obsrv.confinsideinfra-setup/:ℹ️ Bucket will be created automatically if it doesn’t exist.
3. Run the Installation Script
This script:
Deploys infrastructure via Terragrunt.
Creates the GKE cluster and VPCs.
Sets up kubeconfig at
terraform/gcp/credentials/<file>.
4. Verify the Cluster
All GKE nodes should appear in Ready state.
Helm Chart Configuration
1. Navigate to Helm Directory
2. Update GCP Cloud Configuration
Edit global-cloud-values-gcp.yaml:
3. Install Core Services
4. Configure Domain Mapping
Get the external IP:
Update
global-values.yaml:
5. Install All Obsrv Services
6. Validate Installation
Open in browser:
https://<external-ip>.sslip.io/consoleVerify pods:
Upgrade Steps
1. Pull Latest Code
2. Upgrade Infrastructure
3. Upgrade Services
By following the above steps, you can successfully install, configure, and manage Obsrv on Google Cloud Platform (GCP) using best practices for infrastructure automation and service deployment.
Last updated
