Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-544

Mesos-slave support for "node drain"

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • agent, framework, master

    Description

      Given that multiple frameworks can be present on a machine at a time, and writing "node drain" for each possible framework is an intractable task, it would nice if the slave-master core had a means to tell frameworks that tasks were killed to drain a host. Or possibly that the slave was told to drain the host of all tasks (graceful shutdown, etc).

      # drain current host
      pkill -USR1 mesos-slave
      

      This would make writing scripts for site-ops to do node maintenance much easier...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tweingartner Tobias Weingartner
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: