mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 22:24:54 +00:00
chore: implement VolumesConstraint to only schedule on machines with required volumes
This commit is contained in:
1 parent
03c2681792
commit
1acb0ff110
5 files changed
+288
-5
No files matched your search
@@ -53,5 +53,7 @@ func (s *ServiceScheduler) evaluateConstraints(machine *Machine) bool {
|
||||
}
|
||||
|
||||
func (s *ServiceScheduler) ScheduleContainer() ([]*pb.MachineInfo, error) {
|
||||
// TODO: organise machines in a heap and supply a sort function from the strategy. Each scheduled container
|
||||
// should update the machine and reorder it in the heap.
|
||||
return nil, errors.New("not implemented")
|
||||
}
|
||||
Reference in new issue
Block a user