Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prune all unused configmaps/secrets #876

Closed
nhooyr opened this Issue Mar 13, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@nhooyr
Copy link

nhooyr commented Mar 13, 2019

Is there an automated way to do this?

@donbowman

This comment has been minimized.

Copy link
Contributor

donbowman commented Mar 13, 2019

what i have been doing is:
kustomize build . | kubectl apply -f - --prune -l app=MYLABEL

make sure the label is set properly tho.

@Liujingfang1

This comment has been minimized.

Copy link
Collaborator

Liujingfang1 commented Mar 13, 2019

We plan to improve the pruning functionality in kubectl, see the KEP.

@nhooyr

This comment has been minimized.

Copy link
Author

nhooyr commented Mar 13, 2019

@donbowman thanks, will use that for now.

That's awesome @Liujingfang1, looking forward to it.

@nhooyr nhooyr closed this Mar 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.