GoogleContainerTools/skaffold

Clean up from remote repositories as well after skaffold-dev

开放

#3,487 创建于 2020年1月9日

 (5 条评论) (1 个反应) (0 位负责人)Go (1,416 个派生)batch import
area/cleanuphelp wantedkind/feature-requestpriority/p3

仓库指标

星标
 (12,822 个星标)
PR 合并指标
 (平均合并 3天 6小时) (30 天内合并 16 个 PR)

描述

Hi. I have been using a remote GKE cluster as my development target since its difficult to run Minikube and test everything on my system. Everything works great with skaffold dev pushing images remotely during development and I am able to test it.

But, when terminating skaffold dev I would like the remote GCR images which were pushed to be cleaned up as well to avoid doing it manually later. Too many tags are getting pushed to GCR because of this.

Rather, all tags can be stored in the remote registry permanently only when running skaffold run but cleaned up when using skaffold dev

Is there any other way to avoid issues like these? Thanks. I hope the GCloud bill doesn't shoot up because of this.

贡献者指南