GKE - Google Kubernetes Engine onboarding
Mavvrik supports two ways to connect an GKE cluster, as shown in the Connect GKE Cluster screen:
Allocation-Based – recommended when you want quick onboarding and cost allocation visibility without deep cluster telemetry.
Appliance-Based – recommended when you need deeper telemetry and more detailed Kubernetes insights.
Allocation-Based : Fastest way to onboard. Follow the in-app instructions shown in the Connect GKE Cluster flow—no separate help steps required.
Appliance-Based: Uses the appliance/agent for deeper telemetry. Follow the installation steps in the Appliance-Based section below.
Follow the below steps to onboard the GKE cluster(Appliance based)
Step-1: Login to Google Cloud Console
Login to in google cloud console
Go to required project
Navigate to Clusters
Click on Actions

Click on Connect

Copy command line access
Click on OK
Activate Cloud Shell
Paste the copied command line access in terminal

Press Enter
Step-2: Enter the Prometheus URL in Mavvrik
Login to Mavvrik Portal
Click on Menu
In Admin section, Click on Accounts
Click on Kubernetes
Tap on GKE
Click on GKE Cluster connect button
Enter your Prometheus URL . Following screenshot shows the example of URL

Step 3: Execute the script from the Kubernetes Shell
In Mavvrik Portal Copy the script and execute the command below provided by Mavvrik UI within the Kubernetes Shell terminal window.

Paste the copied script in cloud shell and enter

Click on the Connect button in Mavvrik, after the running script is successfully completed.
The onboarded GKE Cluster will be displayed, and status will be ACTIVE.
Direct Cluster Navigation
There is a clickable link on the cluster names. This allows to seamlessly navigate to detailed cost insights for each cluster directly from the Kubernetes Admin page.
