GoogleContainerTools/skaffold

Clean up from remote repositories as well after skaffold-dev

Open

#3,487 opened on 2020年1月9日

GitHub で見る
 (5 comments) (1 reaction) (0 assignees)Go (12,822 stars) (1,416 forks)batch import
area/cleanuphelp wantedkind/feature-requestpriority/p3

説明

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.

コントリビューターガイド