Hi List,

Is there a way to configure how mesos to kill task?

The background is we have a type of task, which running with mesos native docker
support. The task is a kind of message consumer which will take task from
message queue and take care of it. However, a task may be very large, costs
hours to finish, so we'd like to kill the container like this: send an
signal(TERM maybe) to it and wait for a configurable timeout to kill it with
KILL. So our task consumer can handle TERM and will exit once it finished
current task.

Is there a good way to do that or any other tips?

Thank you all in advance.


-- 
Thanks,
Chengwei

Attachment: signature.asc
Description: Digital signature

Reply via email to