open-simulator
open-simulator copied to clipboard
K8s cluster simulator for capacity planning
Signed-off-by: Youngseok.yoon
[Volume Topology-aware Scheduling](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/storage/volume-topology-scheduling.md)
## Question Thank you for awesome project. We use Volcano scheduler for ML workload scheduling. Planning to use open simulator for scenarios testing. Is it possible to use volcano scheduler...
## Question 如果在[这一行](https://github.com/alibaba/open-simulator/blob/c11c72ed298fa8b2174fa94394fb32c5c5e03478/pkg/simulator/core.go#LL87C3-L87C3)报错了,defer的Close方法会阻塞,因为scheduler还没运行起来,test pod永远不会返回调度结果,因此会阻塞在sim.simulatorStop这个chan上。 复现方法:删除[这一行](https://github.com/alibaba/open-simulator/blob/main/pkg/test/pod.go#LL31C7-L31C7)之后,执行测试pkg/simulator/core_test.go,就会阻塞住。  如果要修复这个问题,可以在生成Pod之后再NewSimulator。这样如果生成失败,也不需要Close simulator了 但我的疑问是为什么Simulator的Close方法需要创建一个test Pod并且等待其调度结束?去掉test Pod的话会有什么问题?
fix https://github.com/alibaba/open-simulator/issues/97
## Question Hi, thanks for your great work on this project. I have a question about pod lifecycle management. Does it support simulating the pod duration and the termination status,...