Benjamin Mahler created MESOS-2066:
--------------------------------------
Summary: Add optional 'Unavailability' to resource offers to
provide maintenance awareness.
Key: MESOS-2066
URL: https://issues.apache.org/jira/browse/MESOS-2066
Project: Mesos
Issue Type: Task
Reporter: Benjamin Mahler
In order to inform frameworks about upcoming maintenance on offered resources,
per MESOS-1474, we'd like to add an optional 'Unavailability' information to
offers:
{code}
message Unavailability {
required Time start = 1;
// The approximate duration of the unavailability,
// if this is a transient unavailability.
optional Duration duration = 2;
}
message Offer {
required OfferID id = 1;
required FrameworkID framework_id = 2;
required SlaveID slave_id = 3;
required string hostname = 4;
repeated Resource resources = 5;
repeated Attribute attributes = 7;
repeated ExecutorID executor_ids = 6;
// The resources specified in this offer will become unavailable
// at the specified start time and for the specified duration. Any
// tasks launched using these resources might get killed when
// these resources become unavailable.
optional Unavailability unavailability = 8;
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)