Joseph Wu created MESOS-3265:
--------------------------------
Summary: Starting maintenance needs to deactivate agents and kill
tasks.
Key: MESOS-3265
URL: https://issues.apache.org/jira/browse/MESOS-3265
Project: Mesos
Issue Type: Task
Components: master, slave
Reporter: Joseph Wu
Assignee: Joseph Wu
After using the {{/maintenance/start}} endpoint to begin maintenance on a
machine, agents running on said machine should:
* Be deactivated such that no offers are sent from that agent. (Investigate if
{{Master::deactivate(Slave*)}} can be used or modified for this purpose.)
* Kill all tasks still running on the agent (See MESOS-1475).
* Prevent other agents on that machine from registering or sending out offers.
This will likely involve some modifications to {{Master::register}} and
{{Master::reregister}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)