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

fix: Add field in the nicclusterpolicy helm template for nodeAffinity #349

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

slu2011
Copy link

@slu2011 slu2011 commented May 12, 2022

fix: Add field in the nicclusterpolicy helm template to allow setting the nodeAffinity field

related issue: #310

@slu2011
Copy link
Author

slu2011 commented May 12, 2022

/retest-nic_operator_helm

@slu2011 slu2011 changed the title …fix: Add field in the nicclusterpolicy helm template for nodeAffinity fix: Add field in the nicclusterpolicy helm template for nodeAffinity May 12, 2022
@slu2011
Copy link
Author

slu2011 commented May 12, 2022

Signed off by @e0ne @adrianchiris

@rollandf
Copy link
Member

@slu2011 Thanks for the PR!

You need to update the GIT commit message with a signed-off-by line with your name and your email address.

For example:
Signed-off-by: Shi Lu <yourmailhere>

@slu2011 slu2011 force-pushed the master branch 4 times, most recently from 5b23544 to a66ca7f Compare June 1, 2022 00:10
@slu2011
Copy link
Author

slu2011 commented Jun 1, 2022

Thanks @rollandf for your help. Can you please review the MR? Or mention the folks who would be appropriate.

@rollandf
Copy link
Member

rollandf commented Jun 1, 2022

/retest-nic_operator_kind

@adrianchiris
Copy link
Collaborator

Hi,

Can you also document this new helm parameter

https://github.com/Mellanox/network-operator/blob/master/deployment/network-operator/README.md

under "chart parameters"

@slu2011 slu2011 force-pushed the master branch 2 times, most recently from a77f539 to 8816825 Compare June 7, 2022 18:36
@slu2011
Copy link
Author

slu2011 commented Jun 8, 2022

/retest-all

@abdallahyas
Copy link
Contributor

/retest-image_scan

1 similar comment
@rollandf
Copy link
Member

/retest-image_scan

See [Kubernetes Node Affinity](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/)


| Name | Type | Default | description |
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: you can just add the parameter to the table in ### General parameters

currently this section is added is under "secondary network" however node affinity also applies to OFED driver container as well

Copy link
Author

Choose a reason for hiding this comment

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

Hi @adrianchiris can you please take a look again?

@abdallahyas
Copy link
Contributor

/retest-image_scan

@adrianchiris
Copy link
Collaborator

@slu2011 ping :)

i think we are really close to merging this one, just a minor comment.

@rollandf
Copy link
Member

@slu2011 , please also squash the commits into a single one.

This is for mitigating Mellanox#310. We can override the default node effinity which would prevent deploying on master nodes.

Signed-off-by: shil <shil@nvidia.com>
@slu2011
Copy link
Author

slu2011 commented Jul 13, 2022

/retest-nic_operator_kind

@slu2011
Copy link
Author

slu2011 commented Jul 14, 2022

Hi @adrianchiris @rollandf can you please take a look again? Thanks a lot!

@adrianchiris
Copy link
Collaborator

done, thanks for working on it !

@adrianchiris adrianchiris merged commit bc03f8f into Mellanox:master Jul 14, 2022
@e0ne e0ne mentioned this pull request Jul 18, 2022
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants