GoogleContainerTools / GoogleContainerTools/skaffold

Clean up from remote repositories as well after skaffold-dev

Open
#3,487 5 comments 1 reaction 0 assignees View on GitHub
area/cleanup help wanted kind/feature-request priority/p3
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.