-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Allow setting tolerations & node affinity rules for Jobs #704
Comments
Hi @jashandeep-sohi ! Thanks for reporting this issue. |
Yeah, I could give it a go. What's the best way to do this? Add a generic The other option is to just keep it simple for now and add the things I need, i.e. |
I think that maybe we have to do some cleaning on the API. For now the api provides the following fields:
Adding more and more fields on the object's root is becoming a non-sense. I would go for it in some extra steps:
Then when moving to WDYT ? |
Sounds good, but can you help me understand the reason behind the extra indirection for existing Job overrides if they're going to be removed in v1 anyways? Isn't it enough to just add |
Yes @jashandeep-sohi sorry if my explanations weren't clear enought. Let's do it in 3 steps:
Is this clearer ? :) |
Ok, yeah that clarifies things. |
I need to be able to set
tolerations
andaffinity.nodeAffinity
for Pods created by Jobs created by this operator. As far as I know, there's no way to do this right now.The text was updated successfully, but these errors were encountered: