最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

google cloud platform - Not getting the all the namespaces in big query billing export table - Stack Overflow

programmeradmin0浏览0评论

I have enabled the GCP cloud billing data to export into bigquery. For GKE I'm not getting all the workloads namespaces into gcp_billing_export table.

I have enabled the GKE Metering, It's created the seperate table called gke_cluster_usage_consumption. Here I'm getting all the workloads data namespace wise.

Why all the workloads data not visible namespace wise in gcp_billing_export table. According the GCP documentation all the namespaces data should be present in both the tables, but gke_cluster_usage_consumption will have some extra columns.

Please help me to understand this

select distinct namespace from table LEFT JOIN UNNEST(labels) as labels ON labels.key = "k8s-namespace"

Thanks in Advance.

I have enabled the GCP cloud billing data to export into bigquery. For GKE I'm not getting all the workloads namespaces into gcp_billing_export table.

I have enabled the GKE Metering, It's created the seperate table called gke_cluster_usage_consumption. Here I'm getting all the workloads data namespace wise.

Why all the workloads data not visible namespace wise in gcp_billing_export table. According the GCP documentation all the namespaces data should be present in both the tables, but gke_cluster_usage_consumption will have some extra columns.

Please help me to understand this

select distinct namespace from table LEFT JOIN UNNEST(labels) as labels ON labels.key = "k8s-namespace"

Thanks in Advance.

Share Improve this question asked Feb 6 at 14:10 harikaharika 718 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

gcp_billing_export emphasizes cost, while gke_cluster_usage_consumption tracks consumption metrics. I think not all consumption translates directly to cost. Some resources might be free-tier, or costs might be allocated differently based on discounting, sustained use discounts, or other pricing models. So even if a namespace consumes resources, it might not appear in the billing export if the associated cost is zero or negligible.

Try to analyze the gke_cluster_usage_consumption data for the namespaces you're not seeing in the billing export and determine if those namespaces are actually incurring any costs.

发布评论

评论列表(0)

  1. 暂无评论