-
Notifications
You must be signed in to change notification settings - Fork 28
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-daemonset): tolerate all taints #56
Conversation
Agent DaemonSet should respect all taints to avoid getting blocked in node bundle collection. Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
/cc @innobead |
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.
This can be improved in the future if we really need to respect nodes with customized taints instead of hard-code here.
Is the aim of the change to allow the support-bundle-kit ds to be deployed to nodes with user taints? currently the sbk, will wait for zip files to be available from nodes, which match the following criteria: https://github.com/rancher/support-bundle-kit/blob/master/pkg/manager/manager.go#L332 Any nodes not meeting the criteria will not be included in the map, and sbk will not wait for the corresponding zip files to be available. |
Do you mean we should ask the user to add labels and pick out the untainted nodes? |
Does this criteria respect user taints? It seems only respecting node selector, so tainted nodes will still be counted into the map? |
LGTM, adding an issue to track: #57 |
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.
Just verified and in maintenance modes the kubelet is ready, which should still allow the manager to collect node bundles from these nodes.
Propose to have Agent DaemonSet respecting all taints to avoid getting blocked in node bundle collection. Because in Longhorn, we cannot predict and have no control over the node taints.
longhorn/longhorn#2759