Replies: 4 comments 3 replies
-
This seems an issue for Because the longhorn manager will try to create the IM pod w/ the specific node name which will supersede the pod scheduling even though there is no toleration configured as the below code. If you try to delete the longhorn manager pod, I think the IM pods will not be created because the longhorn manager pod will not exist as well. cc @longhorn/qa |
Beta Was this translation helpful? Give feedback.
-
ref: #5161 |
Beta Was this translation helpful? Give feedback.
-
Hello @jwenjian. After discussing #5161, the team is considering closing it without implementing it. We feel that it is better for instance-manager to ignore the taint on any node where longhorn-manager is also running, as it is critical to Longhorn's operation. We are inclined to keep the current behavior:
I see you originally opened this discussion to try to understand how Longhorn was able to keep instance-manager alive (despite the taint). Do you feel strongly that this behavior should be changed, or were you just curious. If you do feel strongly it should be changed, can you explain why? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello, I have same problem here . according to our business we must taint all of our nodes because we have dedicated nodes with dedicated works , in this situation we use taint to force this dedication. |
Beta Was this translation helpful? Give feedback.
-
I am confused about the instance manager pod behavior of node taint, hope anyone can help :)
I have a single node cluster with longhorn installed, then I add a new taint to the node, e.g.
k=v:NoSchedule
,then I delete the instance manager pod, based on my understanding, the new instance manager pod cannot be scheduled since it has no corresponding toleration.But the new pod is scheduled and running normally, just like before.
I tried to delete the longhorn ui pod, the new UI pod is in pending status and cannot be scheduled to the node, which is expected.
Is there any other dark tech for the instance manager pods?
BTW, when I describe the instance manager pod, I just found 2 tolerations, none of them is for the new taint:
Beta Was this translation helpful? Give feedback.
All reactions