Comments (7)
This issue is currently awaiting triage.
If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
from kubernetes.
/sig apps
from kubernetes.
Have you looked into Kueue?
from kubernetes.
We provide kueue to our users as well but as a service provider we can't force it into projects,also we are using it for some other use cases, as I know queue has something to back-off scheduling.
But my question is is it not worthy to be part of vanila k8s job also as a platform provider it's heafty job to convince project for something since it's a controller at the end. Also queue has some issues as well ,it can block entire cluster(since the entire stuff runs via a webhook )if it's controller is dead .so kueue is good but should not replace job.
from kubernetes.
Tbh I don’t really understand what you are asking for. If you want to limit the number of active pods in a job one could set parallelism lower. If a user species a parallism greater than max jobs I don’t really know what you want to happen.
Maybe you define a CRD for a Job or CronJob where you can set maximum parallelism. If you want some kind of quota management and to not overwhelm the cluster I think Kueue would be your best work.
@alculquicondor @mimowo wdyt? Do you see this as possible?
from kubernetes.
I think the ask is pretty clear: they want to limit the number of active jobs created by the CronJob.
OTOH, an excess of Jobs could only happen if Jobs never terminate in the first place.
One mitigation you can do is to use ResourceQuotas to limit the number of jobs in an entire namespace https://kubernetes.io/docs/concepts/policy/resource-quotas/#object-count-quota
In any case, I would recommend you start a proposal and write a KEP to target v1.32 (enhancements freeze for v1.31 already started).
from kubernetes.
Though resource quota can be a solution, i am running some mutating webhooks for now as default since most of our uses does it really need jobs in parallel and its happening due and error on their end but the fix will take too long since it involved some communication and changes.
The only problem i see resource quota would namespace wide , and we really want something that can control per job wise+ a quota for upper limit a large upper limit lets say.
@alculquicondor for kep im not sure who should writw it ,will it be me ,i'm not sure i have the required development capability to implement this proposal .
from kubernetes.
Related Issues (20)
- Support HTTP2 probes over cleartext (h2c) HOT 11
- The startup time of the init container is later than that of the application container. HOT 3
- Can't get secrets when adding imagePullSecrets HOT 3
- [Flaking test] [sig-node] Containers should use the image defaults if command and args are blank HOT 1
- kubectl --server-side --dry-run=server - wrong output for converting client side applied manifest HOT 3
- Node Labeling node.kubernetes.io/out-of-service Taint Label Delay HOT 2
- [FG:InPlacePodVerticalScaling] e2e test does not verify resource update in pod status HOT 3
- cronjob schedule with multiple conditions not working - conflict between day (week) and day (month) HOT 5
- NetPol block self pod trafic using an svc and not direct call HOT 12
- kube-apiserver logs watch requests before they end in 1.30 HOT 9
- Node Lifecycle Controller does not mark pods not ready when node becomes Ready=False HOT 8
- endpoints cannot be changed from notReadyAddresses to addresses HOT 8
- Enhancement: Add vTPM Configuration Fields for Enhanced Container Security HOT 3
- 'kubectl delete istag/$ISTAG --dry-run=server' is unexpectedly deleting the object from the server HOT 5
- [FG:InPlacePodVerticalScaling] resources in pod status are never updated if EventedPLEG is enabled HOT 2
- [Flaking test] ci-kubernetes-e2e-gci-gce.Overall HOT 4
- `kubernetes.io/legacy-token-last-used` label being added to long lived service token secrets HOT 2
- The endpoint status does not update when the pod state changes rapidly. HOT 8
- Pod with exitCode 137, The reason has nothing to do with resources。 HOT 2
- Failure cluster [9afae275...] HOT 2
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 kubernetes.