Skip to content
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 adding nodeSelector, affinity, tolerations to batch Jobs #193

Merged
merged 2 commits into from
Jul 5, 2021

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Jun 14, 2021

Our cluster has dedicated nodes for StackStorm. So I need a way to specify the advanced placement settings (nodeSelector, affinity, tolerations) on the batch jobs as well.

@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines. Requires some effort to review. label Jun 14, 2021
@cognifloyd cognifloyd force-pushed the advanced-pod-placement branch 3 times, most recently from 272f072 to 8356a5f Compare June 16, 2021 13:44
@cognifloyd cognifloyd requested a review from arm4b June 16, 2021 14:05
@cognifloyd cognifloyd changed the title Add advanced pod/deployment placement settings to batch Jobs Add nodeSelector, affinity, tolerations settings to batch Jobs Jun 16, 2021
@cognifloyd

This comment has been minimized.

@cognifloyd cognifloyd added feature RFR enhancement New feature or request and removed feature labels Jun 18, 2021
@cognifloyd

This comment has been minimized.

@cognifloyd cognifloyd force-pushed the advanced-pod-placement branch 2 times, most recently from a95068d to 9ea013c Compare June 26, 2021 17:52
@cognifloyd
Copy link
Member Author

rebased on master

@cognifloyd

This comment has been minimized.

@cognifloyd

This comment has been minimized.

@pull-request-size pull-request-size bot added size/M PR that changes 30-99 lines. Good size to review. and removed size/L PR that changes 100-499 lines. Requires some effort to review. labels Jul 3, 2021
@cognifloyd
Copy link
Member Author

@armab I got this PR down to size/M please review. It no longer adds a helper and it does not reformat the deployments file.

@cognifloyd cognifloyd changed the title Add nodeSelector, affinity, tolerations settings to batch Jobs Allow adding nodeSelector, affinity, tolerations to batch Jobs Jul 3, 2021
@cognifloyd cognifloyd added K8s and removed enhancement New feature or request labels Jul 3, 2021
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice!
Thanks again for another enhancement 👍

@arm4b arm4b merged commit 00e2048 into StackStorm:master Jul 5, 2021
@cognifloyd cognifloyd removed the RFR label Jul 10, 2021
@cognifloyd cognifloyd deleted the advanced-pod-placement branch November 11, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Helm K8s size/M PR that changes 30-99 lines. Good size to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants