Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, Mesos supports a single "restart policy" ("restart policy" is a poor name, alternatives are "unhealthy policy", "health policy"): kill a task when it becomes unhealthy. This can be described as "local health policy", because the decision is made locally.
In contrast, a framework may want to apply "global health policy", which means health status is reported to the scheduler and no action is taken on the agent; the scheduler decides how to act and instructs executor explicitly. A third policy can be "mixed": executor does kill tasks without consulting the scheduler, but it nevertheless propagates task health updates to the scheduler.