Comments (7)
related code in build v1
https://github.com/openshift/openshift-controller-manager/blob/071b34b64ea82e87014bccb2ed14f6c2cf4ac9fe/pkg/build/controller/common/util.go#L40
from build.
@sbose78 so we want this? looks ideal to have from my side
from build.
Upstream Tekton supports manual pruning of TaskRun
/PipelineRun
via the tkn
cli. Perhaps we can take a similar approach with our cli.
from build.
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.
from build.
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:
- they defer to manual / outside of the project efforts for this a la what @adambkaplan noted above
- there was some hope a while back on working off of the upstream k8s efforts around Job pruning, but that has fizzled / now worked out (both upstream k8s and tekton)
from build.
@gabemontero yes, from Tekton ( mainly communicating with https://github.com/afrittoli ) side what they have is external ways for deleting existing resources, e.g.:
- nightly CIs ( e.g. cronjob )
- tkn provides that feature to delete resources ( e.g. we could reuse their go pkg for deleting )
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.
from build.
Ship: shipwright-io/community#61
from build.
Related Issues (20)
- Git source: prevent usage of a secret with HTTP protocol
- Git source: verify usage of BitBucket
- Git source: doublecheck logging of the source URL HOT 1
- BuildRuns without BuildRef can not be canceled
- Bump go modules and CI to go v1.19
- SHP Logo not optimal with Github Dark Themes
- Add a feature/functionality to reduce the image size using dockerslim HOT 1
- GitHub Action workflow does not start when PR is created by GitHub Action HOT 1
- Following quickstart docs: Standalone BuildRun no status HOT 2
- Bump k8s version and mod dependencies
- S2I Chained builds HOT 11
- (Cluster)BuildStrategy CR about buildpacks are outdated HOT 1
- Missing custom resource definitions when installing build strategies HOT 3
- README is not match tag HOT 3
- README is not match tag
- Update Heroku sample strategies to heroku-22 stack HOT 1
- `make install` fails at creation of buildruns CRD
- e2e tests failing with `no kind is registered for the type v1alpha1.Build` HOT 5
- Ensure SecurityContext of Controllers are inline with Kubernetes PSA HOT 2
- [BETA API] Provide a solution to automatically create TLS secret and inject caBundle HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build.