-
Notifications
You must be signed in to change notification settings - Fork 344
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
Resource limits for spark dependencies cronjob #598
Comments
+1 to this, we have default requests and limits per namespace and spark dependencies OOM killed all the time |
@antimack as a workaround, you can add a |
@harshal-shah Yeah, that’s what we do but we have default limitrange same for all the namespaces and we are trying to keep it low so spark dependencies failing to start. I just tweaked limitrange a bit but having the ability to specify resources in crd would be way much better :) |
Yes, Totally agree with that. |
@rubenvp8510 is this something you'd want to work on? |
We removed the limitrange and instead used the following helmfile hook to patch the cronjob
|
Above patch gets overwritten by the operator
|
The spark dependencies cronjob does not have resources populated. It would be nice to be able to specify requests and limits for the pods created by this cronjob.
Right now the pods created by this cronjob do not have any resources defined and they consume a substantial amount of CPU / memory causing resource starvation on the node and all pods on it.
The text was updated successfully, but these errors were encountered: