英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论