You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2019/07/12 23:59:00 UTC

[jira] [Created] (MESOS-9891) Add AGENT_UPDATED event with drain state.

Greg Mann created MESOS-9891:
--------------------------------

             Summary: Add AGENT_UPDATED event with drain state.
                 Key: MESOS-9891
                 URL: https://issues.apache.org/jira/browse/MESOS-9891
             Project: Mesos
          Issue Type: Task
            Reporter: Greg Mann


The master's event stream for schedulers and operators should get a new event whenever an agent's drain or deactivation state changes:
{code}
message Event {
  . . .

  enum Type {
    . . .

    AGENT_UPDATED = 10;
  }

  message AgentUpdated {
    optional bool deactivated = 1;
    optional DrainInfo drain_info = 2;
  }

  . . .

  optional AgentUpdated agent_updated = 10;
}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)