Closed heyfey closed 2 years ago
Currently cluster view is hard-coded for internal test with on-premise cluster
https://github.com/heyfey/vodascheduler/blob/ceac306c1343904287b00bcac7bb4fe648b67c03/pkg/scheduler/scheduler.go#L31-L33 https://github.com/heyfey/vodascheduler/blob/ceac306c1343904287b00bcac7bb4fe648b67c03/pkg/placement/placement_manager.go#L30-L35
We should programmatically discover cluster view when initializing the scheduler.
Close by #3
Currently cluster view is hard-coded for internal test with on-premise cluster
https://github.com/heyfey/vodascheduler/blob/ceac306c1343904287b00bcac7bb4fe648b67c03/pkg/scheduler/scheduler.go#L31-L33 https://github.com/heyfey/vodascheduler/blob/ceac306c1343904287b00bcac7bb4fe648b67c03/pkg/placement/placement_manager.go#L30-L35
We should programmatically discover cluster view when initializing the scheduler.