Google Artifact Registry (GAR) 图像使用空间摘要

huangapple go评论60阅读模式
英文:

Google Artifact Registry (GAR) summary of space used by images

问题

我想要能够确定具有特定标签的所有图像占用了多少空间。这个想法是为了能够确定哪个开发团队消耗了“太多”空间。

每个开发团队将使用特定的容器标签来帮助识别他们。

我尝试使用gcloud命令行工具来解决这个问题,但我无法找到实现这样的功能的方法。

有任何想法吗?

英文:

I'd like to be able to identify how much space is used by all images with a certain tag. The idea for this, is to be able to tell which dev team is consuming "too much" space.

Each dev team, will use a particular container TAG that will help identify them.

I tried using gcloud cli for this matter but I was unable to find a way to achieve such thing.

Any ideas?

答案1

得分: 1

截止目前,您只能确定Google Artifact Registry每个映像的大小。您可以以两种方式确定大小:

  • 通过存储库页面

  • 或通过gcloud CLI输入以下代码:

    gcloud artifacts docker images list
    

您可以在列出映像的文档中找到附加信息。

您还可以通过此链接提交此功能请求。目前没有具体的完成时间,但您可以在创建后跟踪工单的进度。

英文:

As of the moment, you can only determine the size of Google Artifact Registry per image. You can determine the size in two ways:

  • Through the Repositories page
  • Or by entering the code below through gcloud CLI:
    gcloud artifacts docker images list
    

You may check this documentation on listing images for additional information.

You may also want to file this as a feature request through this link. There's no specific ETA on this but you can check its progress by following the ticket once it's created.

huangapple
  • 本文由 发表于 2023年3月3日 22:50:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/75628553.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定