-
Notifications
You must be signed in to change notification settings - Fork 23
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
Bug 2247735: Adding toleration to schedule CSI pods on master nodes #40
Bug 2247735: Adding toleration to schedule CSI pods on master nodes #40
Conversation
@rchikatw: This pull request references Bugzilla bug 2247735, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 2 validation(s) were run on this bug
Requesting review from QA contact: 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/test-infra repository. |
@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: nehaberry. Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs. 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/test-infra repository. |
8447256
to
f995e64
Compare
f995e64
to
13fb177
Compare
} | ||
if runOnMaster { | ||
toleration := corev1.Toleration{ | ||
Key: "node-role.kubernetes.io/master", |
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.
it looks like this is deprecated and replaced with control-plane https://kubernetes.io/docs/reference/labels-annotations-taints/#node-role-kubernetes-io-master-taint, please check what we have in supported OCP versions
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.
checked one of the fusion hci clusters the key was "node-role.kubernetes.io/master". we can go with this key
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.
please test and change and see if its working as expected
Reasoning being,
|
The requirement was to run daemonset pods also on master node but not the nodes which might have tainted for something else.
👍🏻 default is |
13fb177
to
d9f76e6
Compare
@rchikatw could you pls fix commitlint https://github.com/red-hat-storage/ocs-client-operator/actions/runs/6930384492/job/18849951078#step:4:25? |
when PVC is scheduled on the master node CSI pod fails to run Signed-off-by: rchikatw <[email protected]>
d9f76e6
to
b94a9e9
Compare
/approve |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: leelavg, nb-ohad, rchikatw The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@rchikatw: All pull requests linked via external trackers have merged: Bugzilla bug 2247735 has been moved to the MODIFIED state. 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/test-infra repository. |
Adding toleration to schedule CSI pods on master nodes