-
Notifications
You must be signed in to change notification settings - Fork 807
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
Chart option to disable default toleration of all taints #526
Chart option to disable default toleration of all taints #526
Conversation
Welcome @risinger! |
Hi @risinger. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
Pull Request Test Coverage Report for Build 1274
💛 - Coveralls |
/kind bug |
See: kubernetes-sigs/aws-efs-csi-driver#122 and #441 for the reason why it was removed originally |
What's ur use case for this? |
Thanks for the links. What's the point of My current use case: I'm running a cluster with both public and private nodes. I want to specify exactly which pods are allowed to run on the public nodes to limit exposed attack surface. No pods running on the public nodes require persistent storage so I do not want the CSI Node Service or the CSI Controller Service to run on those public nodes. If you or others feel strongly that tolerating all taints should be the default, I could work with a toggle for it instead. |
i am inclined to agree with @risinger, seems a bit heavy handed to default tolerate all taints. more control should be given to the admin to decide whether a pod runs on a given node or not. If they anticipate a node will need to run stateful pods then the onus is on them to ensure ebs pod is colocated there /ok-to-test |
with that said, tolerating all taints is the 'backwards compatible' way since in the non-csi world, the in-tree aws ebs plugin will be ready in kubelet whether you want it or not. |
I updated the default behavior to maintain backward compatibility. |
/lgtm |
Fixes: #591 |
/retest |
/test pull-aws-ebs-csi-driver-e2e-single-az |
Thanks @wongma7. |
@leakingtapan This is clean now but your lgtm got removed when master got merged in |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leakingtapan, risinger 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 |
Is this a bug fix or adding new feature?
bug fix
What is this PR about? / Why do we need it?
I would like to use a taint to prevent EBS CSI Driver components from running on a node. In the helm chart, the Controller Service and Node Service currently tolerate all taints. I believe this was introduced by mistake during a merge, since neither of the parents include the removal of the key in 0c243cd.