-
Notifications
You must be signed in to change notification settings - Fork 813
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 all taint for toleration csi-node by default #1381
Conversation
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.
This would be a breaking change. Let's just set tolerateAllTaints: true
in values.yaml instead and update the docs.
Will update the doc. I believe the current toleration is from this issue. And it should only work for the csi-controller. So it would be better to remove the existing policy. |
Agree with @torredil : just changing the default is better here. This change prevents helm users from customizing the tolerations when they don't want to tolerate all taints. |
Please DO NOT merge this as is, as mentioned here we rely on the ability to customize the tolerations (we have a multi-cloud cluster and use taints to specify which cloud certain components such as the CSI driver run on). |
Sure, with the awareness that it will break current workflow. I am going to keep the all taint configurable in values. The action to remove the Please let me know if you have any further concerns. |
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.
All the code changes lgtm, spotted a few spots the docs grammar could be improved
Signed-off-by: Gengtao Xu <[email protected]>
@ConnorJC3 Thanks for the suggestions, just fixed it. |
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.
lgtm 👍
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ConnorJC3, gtxu, torredil 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 |
Signed-off-by: Gengtao Xu [email protected]
What is this PR about? / Why do we need it?
This PR removed the previous policy of csi-node taint toleration and make allowing all taint by default. For csi-node, unless customized configuration, we should allow all nodes taint for PV availability.