Closed hwan94 closed 1 year ago
Many thanks to your feedback. We are glad that you are interested in our work.
And I think you miss 'wait.Done()'
if cannotScheduled {
wait.Done()
return
}
at 'syncNodeResources' function in 'KubeShare/pkg/scheduler/sync_resources.go'
When the node cannot be scheduled, because of its taint, the scheduler waits forever.
Hi, I appreciate your efforts in sharing GPUs in Kubernetes. We tried to run KubeShare scheduler in our cluster, and we found an issue.
Some sharepods are waiting, because there is not enough GPU resources. When KubeShare schedule sharepods, it need to synchronize current resource of nodes in cluster. However, instead of waiting for the scheduled sharepod to be updated, the next sharepod will be scheduled immediately.
So maybe it needs to add code to wait for the scheduled sharepod to be updated. We solved the issue by adding the code below to 'syncHandler' function in 'KubeShare/pkg/scheduler/controller.go.'
Thank you for your great work!