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

[Feature] Add cleanup jobs to remove stale updaterequests #10244

Closed
2 tasks done
realshuting opened this issue May 16, 2024 · 0 comments · Fixed by #10249
Closed
2 tasks done

[Feature] Add cleanup jobs to remove stale updaterequests #10244

realshuting opened this issue May 16, 2024 · 0 comments · Fixed by #10249
Assignees
Labels
enhancement New feature or request update-request issues related to UpdateRequest

Comments

@realshuting
Copy link
Member

realshuting commented May 16, 2024

Problem Statement

We are seeing an issue that URs get piled up in the cluster for different reasons. While we are working on fixing root causes, it would be good to have a circuit breaker to stop UR generation, or to add cleanup jobs to remove pending URs based on the creation timestamp.

Related issues reported in Slack:

https://kubernetes.slack.com/archives/CLGR9BJU9/p1714125598241909?thread_ts=1713878700.640029&cid=CLGR9BJU9
https://kubernetes.slack.com/archives/CLGR9BJU9/p1715260460611989

Solution Description

If we want to add cleanup jobs, there are existing ones to clean up (cluster)admissionreports:

https://github.com/kyverno/kyverno/blob/main/charts/kyverno/templates/cleanup/cleanup-admission-reports.yaml

Alternatives

No response

Additional Context

No response

Slack discussion

No response

Research

  • I have read and followed the documentation AND the troubleshooting guide.
  • I have searched other issues in this repository and mine is not recorded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request update-request issues related to UpdateRequest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants