-
Notifications
You must be signed in to change notification settings - Fork 41
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
Tolerations not added to setup-credentials-job #178
Comments
Flowing the tserver tolerations to this job makes sense (because it is essentially talking to the tservers) @bhavin192 @baba230896 @amannijhawan - any opinions? |
Hi @dgparker Proposal 2 gives us the most flexibility, the trade off is that if the tolerations are the same as master, tserver we would have to repeat that in values.yaml multiple times. As @iSignal suggested proposal 1 where we inherit the same values as tserver works as well since we are mostly talking to the tserver in this case. Can you shed some light on what is the usecase on your end for this ? |
Created a PR to address this issue. I'm in agreement with @iSignal that inheriting values from tserver makes the most sense. Additionally it reduces repetition in values.yaml as mentioned by @amannijhawan. Something interesting perhaps - Chart allows users to specify separate tolerations for tserver and master but the nodeSelectors are shared. use-case: We're deploying into a shared environment where nodes are isolated by business entity (controlled by taint) . Without the proper tolerations pods will fail to be scheduled. |
The setup-credentials-job does not currently support tolerations or nodeSelectors.
Proposal 1:
Inherit tolerations and nodeSelectors from top master values e.g.;
.Values.master.tolerations
Proposal 2:
Define job specific tolerations and nodeSelectors for authCredentials e.g.;
.Values.authCredentials.tolerations
proposal 2 seems more consistent with the current configuration since support for both of these fields exists at both the master and tserver levels.
If desired, willing to contribute changes upstream.
The text was updated successfully, but these errors were encountered: