-
Notifications
You must be signed in to change notification settings - Fork 48
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
Ensure nodeSelector logic is consistent for all operators #894
Ensure nodeSelector logic is consistent for all operators #894
Conversation
Switch to a pointer for nodeSelector to allow different logic for empty vs unset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
Nova operator's dbpurge job should assigned a node Depends-on: openstack-k8s-operators#894 Closes #OSPRH-10765
There is no need drop empty nodeSelector maps, omitempty already does this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good to me.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gibizer, olliewalsh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
42b7b84
into
openstack-k8s-operators:main
Nova operator's dbpurge job should assigned a node Depends-on: openstack-k8s-operators#894 Closes #OSPRH-10765
/cherry-pick 18.0-fr1 |
@olliewalsh: new pull request created: #897 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
nodeSelectors are not currently applied consistently across all operators.
Some do not support nodeSelectors at all - will be implemented in this series of pull requests.
Some do not apply them to every pod (jobs/cronjobs esp) - will be resolved in this series of pull requests.
Some do not apply a node selector update correctly, only when not initially set.
Some support nodeSelectors but do not inherit the default nodeSelector from the OpenstackControlPlane CR.
Jira: OSPRH-10734