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): tainted nodes should not be counted #70

Conversation

c3y1huang
Copy link
Collaborator

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.

In general, LGTM. However, as I commented, we can just use the desired number of pods for the agent DS directly w/o any checks.

pkg/manager/manager.go Outdated Show resolved Hide resolved
pkg/manager/manager.go Outdated Show resolved Hide resolved
pkg/manager/manager.go Outdated Show resolved Hide resolved
pkg/manager/manager.go Outdated Show resolved Hide resolved
@c3y1huang c3y1huang force-pushed the fix-should-not-count-tainted-nodes-as-expected-nodes branch 6 times, most recently from c586511 to 58daddd Compare April 14, 2023 03:09
pkg/types/types.go Outdated Show resolved Hide resolved
@c3y1huang c3y1huang force-pushed the fix-should-not-count-tainted-nodes-as-expected-nodes branch 3 times, most recently from 0e95962 to 0e33ceb Compare April 14, 2023 06:12
Ref: 57, Longhorn-5614

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
@c3y1huang c3y1huang force-pushed the fix-should-not-count-tainted-nodes-as-expected-nodes branch from 0e33ceb to 3235cbd Compare April 14, 2023 06:25
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-should-not-count-tainted-nodes-as-expected-nodes branch from 3235cbd to 73fc526 Compare April 14, 2023 07:03
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

@innobead innobead merged commit ef90a2c into rancher:master Apr 14, 2023
@c3y1huang c3y1huang deleted the fix-should-not-count-tainted-nodes-as-expected-nodes branch April 14, 2023 07:39
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.

2 participants