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(agent): should respect taint-toleration #68

Conversation

c3y1huang
Copy link
Collaborator

@c3y1huang c3y1huang commented Mar 22, 2023

@c3y1huang c3y1huang self-assigned this Mar 22, 2023
@c3y1huang c3y1huang force-pushed the fix-support-bundle-agent-missing-nodeselector-taintolerate branch 2 times, most recently from eb310ac to aa95566 Compare March 22, 2023 07:58
@c3y1huang c3y1huang marked this pull request as ready for review March 22, 2023 10:00
@c3y1huang c3y1huang changed the title fix(agent): respect taint-toleration fix(agent): doesn't respect taint-toleration Mar 22, 2023
@c3y1huang c3y1huang changed the title fix(agent): doesn't respect taint-toleration fix(agent): should respect taint-toleration Mar 22, 2023
@bk201
Copy link
Member

bk201 commented Mar 22, 2023

The Harvester backend needs to adapt this change, tracked in harvester/harvester#3702.

@c3y1huang c3y1huang force-pushed the fix-support-bundle-agent-missing-nodeselector-taintolerate branch 5 times, most recently from 4710297 to fa3517d Compare March 23, 2023 05:03
@c3y1huang c3y1huang requested a review from bk201 March 23, 2023 06:31
Ref: 57, Longhorn-5614

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Ref: 57, Longhorn-5614

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Ref: 57, Longhorn-5614

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
@c3y1huang c3y1huang force-pushed the fix-support-bundle-agent-missing-nodeselector-taintolerate branch from fa3517d to ff87893 Compare March 24, 2023 01:22
Copy link
Collaborator

@ibrokethecloud ibrokethecloud left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@innobead innobead left a comment

Choose a reason for hiding this comment

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

LGTM

Operator: corev1.TolerationOpExists,
},
},
Tolerations: a.sbm.getTaintToleration(),
Copy link

Choose a reason for hiding this comment

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

Just a note: This will change the current behavior if no taint tolerations are specified since it was to tolerate all taints.

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