🔍Analyzing GKE costs
Follow the below steps to enable GKE cost allocation and integrate detailed usage cost export with Economize, allowing you to analyze GKE costs within Reports.
Step 1: Enable GKE cost allocation
Refer to the official GCP documentation below to enable GKE cost allocation for all the clusters of a project for which you wish to analyze costs within the Economize console.
Step 2: Enable detailed usage cost export
You can skip step 2 if you already enabled the Detailed usage cost export during onboarding.
GCP provides an option to export your billing data to the BigQuery dataset. This consists of details regarding your usage, and pricing data.
Click the hamburger menu at the top left of the GCP console, and select Billing.
In the left Billing navigation menu, select Billing Export.
For Detailed usage cost, click EDIT SETTINGS to enable them.
Configure the following settings in accordance with the steps you performed during onboarding:
From the Projects list, select the project you set up to contain your billing data.
For Dataset, select the dataset that you set up to contain your exported Cloud Billing data during onboarding.
Click on SAVE.
Once the export is enabled it will indicate the same as follows.
Step 3: Link the billing dataset with Economize
Navigate to the Projects page within Economize settings, and click on the Pen icon of the project you enabled GKE cost allocation in step 1, to update its configuration.
Enter the Dataset ID of the BigQuery dataset you used in step 2 in the following text field.
Test your connection to the dataset by clicking on the Test button.
Click on the Save Changes button.
SUCCESS
You can now navigate to the Reports within the Economize console and start analyzing the GKE costs.
Last updated