Project: mesos
Issue MESOS-3888: Support distinguishing revocable resources in the Resource protobuf.
Add enum type into RevocableInfo: * Framework need to assign RevocableInfo when launching task; if it’s not assign, use reserved resources. Framework need to identify which resources it’s using * Oversubscription resources need to assign the type by Agent (MESOS-3930) * Update Oversubscription document that OO has over-subscribe the Allocation Slack and recommend QoS to handle the usage slack only. (MESOS-3889) {code} message Resource { ... message RevocableInfo { enum Type { // Under-utilized, allocated resources. Controlled by // oversubscription (QoSController & ResourceEstimator). USAGE_SLACK = 1; // Unallocated, reserved resources. // Controlled by optimistic offers (Allocator). ALLOCATION_SLACK = 2; } optional Type type = 1; } ... optional RevocableInfo revocable = 9; } {code}
Story points: 2