Description
run Agent-scheduler with config:
--node-worker-threads=5
--scheduler-worker-count=4
--scheduler-name=agent-scheduler
nodeInfo.node is nill lead to panic
snapshot.AddOrUpdateNodes(nodesToUpdate)
Steps to reproduce the issue
- 1500+nodes in k8s cluster.
- run Agent-scheduler with config:
--node-worker-threads=5
--scheduler-worker-count=4
--scheduler-name=agent-scheduler
- submit 1000+ pod need to be scheduler by agent-scheduler
- startup Agent-scheduler. panic !
Describe the results you received and expected
maybe processSyncNode execute is too slow. it's still running when worker.runOnce() already begin
https://github.com/volcano-sh/volcano/blob/master/pkg/agentscheduler/cache/cache.go#L772
func (sc *SchedulerCache) runNodeWorker() {
for sc.processSyncNode() {
}
}
What version of Volcano are you using?
master
Any other relevant information
No response
Description
run Agent-scheduler with config:
nodeInfo.node is nill lead to panic
Steps to reproduce the issue
Describe the results you received and expected
maybe processSyncNode execute is too slow. it's still running when worker.runOnce() already begin
What version of Volcano are you using?
master
Any other relevant information
No response