All skills
gke-cost-analysis
Answer GKE cost questions with BigQuery billing queries and live cluster utilization checks.
- Part of google/skills
- 6.4k installs
- DevOps & Self-hosting · Containers and clusters
When to use it
You have a GKE cluster and a billing export table, but need to know which namespace or workload is driving costs.
For example
You say
Use gke-cost-analysis to find my most expensive namespaces over the last 30 days. My billing export is my-project.billing.gcp_billing_export_resource_v1_ABC123.
You get
- bq query for namespace costs
- Ranked cost breakdown
- Cost allocation check
How it works
- Distinguishes Autopilot (billed on pod requests) from Standard (billed on node VMs) when explaining cost drivers.
- Compares kubectl top usage against requested resources to spot over-provisioning.
- Enabling cost allocation is a cluster change and only labels data from that point forward.
Before installing
Namespace and workload cost breakdown requires GKE Cost Allocation enabled on the cluster; the BigQuery billing export table path must be provided.
More Containers and clusters skills
See all- kubernetes-specialist14.9kCreates and manages Kubernetes workloads, manifests, Helm charts, RBAC rules and pod debugging.
- dynamo-recipe-runner2.6kSelects, validates, patches, and deploys NVIDIA Dynamo Kubernetes recipes for model serving.
- dynamo-interconnect-check1.9kValidates that a Dynamo deployment's NIXL, UCX, and NCCL interconnect is ready for disaggregated serving.
- kubernetes-architect1kPlans and reviews Kubernetes setups, including GitOps workflows and enterprise container orchestration.
Also in this pack
- cloud-run-basics19.4kDeploys and manages Cloud Run services, jobs and worker pools.
- gemini-api18.8kWrites code that calls Gemini models for text, images, video, audio, embeddings and more across languages.
- google-cloud-recipe-auth17.1kExplains how to authenticate and authorize users and services to Google Cloud APIs, including IAM and ADC.
- google-cloud-recipe-onboarding16.9kWalks a new developer through creating a Google Cloud account, setting up billing and deploying a first resource.