| Summary: | [RFE] More effective pruning | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Eric Rich <erich> |
| Component: | RFE | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED DEFERRED | QA Contact: | Johnny Liu <jialiu> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.1.0 | CC: | akokshar, aos-bugs, caugello, dave.mccormick, erich, jokerman, marc.jadoul, misalunk, mmccomas, myllynen, rhowe, sspeiche |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-22 16:31:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Eric Rich
2016-04-18 18:21:10 UTC
I would really hate to expose this to end users from an experience point of view. I would much rather alleviate any of the side effects of not pruning immediately or figure out how to prune immediately. *** Bug 1328348 has been marked as a duplicate of this bug. *** Hi The wording of this RFE doesn't quite match the intention of my original request - rather than "As a User" the intention behind the RFE is for "As an administrator" - I would like to set automatic pruning policy for my cluster which is checked on a schedule within the masters without needing manual runnning. For example, I would like to be able to set a default prune policy: e.g. Prune all orphans Keep last 10 builds Keep last 1h builds etc.. i.e. I want to be able to specify the same inputs that I would specify to the "oc adm" command but to have run regularly by the platform. I would also like to be able to override the default cluster prune policy per project - which would allow project administrators to override the settings if desired. regards Dave *** Bug 1380368 has been marked as a duplicate of this bug. *** Hello, My Redhat case 01745024 has apparently also been attached to this bugzilla ID. Our Problem is slightly different. Currently pruning require manual intervention of an operator. Automating it correctly mean implementing a second authentication through certificate. Our main authentication is through Kerberos / password, which in our company require a password change every 1 year. Having to setup an account and maintaining an additional credential at company directory level and implementing a new identity provide for this only is a lost of effort! Garbage collection allows automating the Garbage collection from a policy at conf level. We would like something similar for the prune. In addition I agreed that there are several type of projects and it would be usefull to be able to distinguish which policy apply to which project based on a label for instance. Regards, Marc (In reply to Marc Jadoul from comment #13) > Our Problem is slightly different. Currently pruning require manual > intervention of an operator. > Automating it correctly mean implementing a second authentication through > certificate. Our main authentication is through Kerberos / password, which > in our company require a password change every 1 year. > > Having to setup an account and maintaining an additional credential at > company directory level and implementing a new identity provide for this > only is a lost of effort! You seem to be looking for a solution like: https://trello.com/c/WsnlyxUf/805-use-scheduledjobs-to-prune-images https://trello.com/c/5T5MsGCj/784-as-an-administrator-of-openshift-i-want-prune-commands-to-run-as-jobs-on-the-cluster Where the platform (not a user) can execute these operations for you, based on how you define the job. Will the allow us to set up a prune job? https://github.com/kubernetes/kubernetes/pull/25475 |