-
Notifications
You must be signed in to change notification settings - Fork 113
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
Pruning of BuildRun Objects #53
Comments
@sbose78 so we want this? looks ideal to have from my side |
Upstream Tekton supports manual pruning of |
Another alternative is to control this per namespace. Kubernetes supports resource quotas( see https://kubernetes.io/docs/concepts/policy/resource-quotas/#object-count-quota ) for CRDs. However I dont think this approach is ideal for this issue. I think this needs to be worked on Tekton side, I will ask the Tekton community inside IBM for more information. |
I'll be curious what you hear on the Tekton/IBM side (and who precisely, as I may have interacted with some of the folks you talk to). My high level interpretation over the last year of so:
|
@gabemontero yes, from Tekton ( mainly communicating with https://github.com/afrittoli ) side what they have is external ways for deleting existing resources, e.g.:
but nothing related to a mechanism for pruning resources based on some threshold that was reached ( e.g. we exceed 100 taskruns per namespace ) . We should continue using this issue to provide more ideas on how to achieve this for us. |
openshift build v1 api today has fields that allow on a per build config basis the maximum amount of builds to keep in etcd.
Tekton has an unimplemented open features for this: tektoncd/pipeline#1334 , tektoncd/pipeline#1302 , and those also reference the upstream alpha feature around TTL for jobs/pods
build v2 tie in to the upstream tekton solution seems the long term solution
it that takes too long, do they want to build something akin to what exists in the build v1 controller for build v2?
The text was updated successfully, but these errors were encountered: