Google Cloud Registry 配额和指标监控

问题描述

由于配额超出,我在 GCR 存储库中的图像拉取请求被拒绝,我怀疑我们的某些进程过于频繁地请求图像哈希。这些进程分布在多个 kubernetes 集群、云提供商和区域。

Unable to fetch image "gcr.io/wise-woodford/adapter:v1.4.0":                                                                                                  
      failed to resolve image to digest: GET https://gcr.io/v2/token?scope=repository%3Awise-woodford%2Fadapter%3Apull&service=gcr.io:                                      
      unexpected status code 429 Too Many Requests: Quota Exceeded.

凭据流量可能有助于找到罪魁祸首。 不幸的是,无论选择什么时间范围,Container Registry API 区域(指标部分)都没有显示任何流量。

enter image description here

问题:

  • 该 API 是如何启用的?
  • 是否有其他方法可以查看谁在使用这些请求?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)