Osman Sarood
Osman Sarood

Reputation: 121

How to flush out jobs on a Mesos slave?

I want to take out a host (mesos-slave) from the mesos cluster in a clean manner by draining out the executors its running. Is it possible for mesos-master to not give any further work to a mesos-slave but still receive updates for the currently running executors? If thats possible, I can make mesos-master not give anymore work to this slave and once the slave is done with its currently running executors, I can take it out. Please feel free to suggest a better way of achieving the same thing.

Upvotes: 2

Views: 512

Answers (1)

rukletsov
rukletsov

Reputation: 1051

I think you look for maintenance primitives, which have been recently added to Mesos. A user doc is here.

Upvotes: 2

Related Questions