mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-18 13:21:00 +02:00
"--scheduler-profile" option to allow different orchestration patterns (#224)
* "--scheduler-profile" option to allow different orchestration patterns * API(cluster settings): provide a default value for scheduler profile
This commit is contained in:
@@ -350,10 +350,10 @@ func (controller *Controller) initializeMetrics() error {
|
||||
return err
|
||||
}
|
||||
|
||||
_, workerToResources := scheduler.ProcessVMs(vms)
|
||||
_, workerInfos := scheduler.ProcessVMs(vms)
|
||||
|
||||
for _, worker := range workers {
|
||||
resourcesUsed := workerToResources.Get(worker.Name)
|
||||
resourcesUsed := workerInfos.Get(worker.Name).ResourcesUsed
|
||||
|
||||
for key, value := range resourcesUsed {
|
||||
observer.Observe(int64(value), metric.WithAttributes(
|
||||
|
||||
Reference in New Issue
Block a user