基于 Pod 或部署的 GKE 账单明细 [英] Breakdown of GKE bill based on pods or deployments

查看:28
本文介绍了基于 Pod 或部署的 GKE 账单明细的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要根据 Pod 或服务或部署对单个项目中的使用情况进行细分,但控制台中的计费部分似乎没有提供如此详细的信息.是否有可能以某种方式获得这些数据?我想知道每个部署或 Pod 的网络 + 计算成本是多少.或者,如果至少可以在集群级别拥有它?BigQuery 中是否提供此细分?

I need a breakdown of my usage inside a single project categorized on the basis of Pods or Services or Deployments but the billing section in console doesn't seem to provide such granular information. Is it possible to get this data somehow? I want to know what was the network + compute cost on per deployment or pods. Or maybe if it is possible to have it atleast on the cluster level? Is this breakdown available in BigQuery?

推荐答案

最近在 GKE 中发布了一项新功能,该功能允许在集群内收集指标,也可以将这些指标与导出的计费数据结合起来,以分离每个项目的成本/环境,从而可以将每个命名空间、部署、标签以及其他标准的成本分开.

Recently it was released a new features in GKE that allows to collect metrics inside a cluster that can also be combined with the exported billing data to separate costs per project/environment, making it possible to separate costs per namespace, deployment, labels, among other criteria.

https://cloud.google.com/blog/products/containers-kubernetes/gke-usage-metering-whose-line-item-is-it-anyway

这篇关于基于 Pod 或部署的 GKE 账单明细的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆