-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New helm3 chart problem with nodeSelector and tolerations #1085
Comments
I'm testing with From a clean k8s state in docker, run: Then apply the attached yaml and observe that executor and driver pods have the node selector but not the tolerations. |
Hi @jkleckner, as far as I understand this isn't an issue with the chart itself, but while trying to create a Try the following: spec:
# other sections here
driver:
nodeSelector:
kubernetes.io/hostname: "docker-desktop"
tolerations:
- key: "node.kubernetes.io/spark-executor"
operator: Equal
value: "true"
effect: NoSchedule
# more config below And the same for the executor |
That was what I had for my original spark app spec that worked with the old chart:
I tried many many combinations and found that I could get the I also found that there is a need to not only install with This is a regression from the previous behavior of the chart. Anyway, I ended up reverting to the deprecated 0.8.6 chart and installing with that from a local copy. I may try this again when there is documentation. It might have been good to break this chart install into a "just copy the 0.8.6 chart into the repo" followed by a separate "upgrade this chart to make it better" with descriptions of behavior changes. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it. |
I'm finding that
nodeSelector
andtolerations
don't work declared in the executor spec.The
nodeSelector
works if put directly in thespec
and if the label is fully qualified withkubernetes.io/
as for examplekubernetes.io/hostname: "docker-desktop"
but tolerations don't work even with trying out various paths.Originally posted by @jkleckner in #1061 (comment)
The text was updated successfully, but these errors were encountered: