Closed mlowicki closed 6 years ago
Re 3 we can use calls.RefuseSeconds
and sample use is on https://github.com/mesos/mesos-go/blob/29de6ff97b48c29cb5ac07029ed75186e5ba0eed/api/v1/cmd/msh/msh.go#L229
2 is already done since while handling offer list of runnable jobs is retrieved (response from ZK) and then tasks launched so unused resources are treated as declined.
Idea is to have entity called OffersController
which:
There should be metrics for number of REVIVE and SUPPRESS calls.
https://mesos.apache.org/documentation/latest/app-framework-development-guide/#multi-scheduler-scalability
In nutshell: