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

Automated Resource Cleanup #3673

Open
mparram opened this issue Oct 28, 2024 · 1 comment
Open

Automated Resource Cleanup #3673

mparram opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mparram
Copy link

mparram commented Oct 28, 2024

Describe the solution you'd like

I’d like to request an automated resource Cleanup feature for Gatekeeper, similar to the Cleanup functionality in Kyverno. Kyverno allows users to automatically delete resources like empty ReplicaSets after a set period, which helps keep clusters organized and avoids clutter from unused resources.

Adding this feature to Gatekeeper would allow users to Automatically remove empty or unused resources after a specified time and reduce manual cleanup tasks and improve cluster performance.

It's something that can be done manually through cron jobs, but it would be good to consider such functionality as an additional feature in Gatekeeper.

Anything else you would like to add:

References:

@mparram mparram added the enhancement New feature or request label Oct 28, 2024
@sozercan
Copy link
Member

@mparram Have you had a chance to review https://github.com/gianlucam76/k8s-cleaner? Is there a particular reason you believe Gatekeeper is a better fit for this task compared to dedicated projects like k8s-cleaner?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants