aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erb, Stephan" <>
Subject Re: Adding support for Mesos' Kill Policy when running docker executor-less tasks.
Date Thu, 05 Jan 2017 18:09:40 GMT
I will try to summarize an off-list discussion so that more people can participate:

Aurora has an unofficial way to launch Docker containers without Thermos. Rather than using
the Thermos executor, Mesos will directly call the container entrypoint. This support was
contributed by Bill ( ). An additional patch by John (
) to expose this functionality within the client job configuration was discarded due to missing
consensus at the time. This means, the entrypoint mode is only available for REST API users,
and for users with patched clients.

The goal of Nicolás is now to provide a graceful shutdown for containers running without
Thermos. He has prepared a minimal patch that sketches the idea

How do we want to proceed here? Do we plan to improve our Docker entrypoint story? If yes,
can we just re-open Johns RB and merge an extended version of Nicolás change, or do we need
some additional planning?

I am happy to hear what you think.

On 29/12/2016, 16:48, "Nicolas Donatucci" <> wrote:

    Hello everybody.
    I was thinking on adding support for the current Mesos' Grace Period Kill
    Policy when running Docker containers without Thermos. It is currently the
    only Kill Policy implemented by Mesos. (More information can be found here and JIRA
    issue here
    My idea is to add a Kill Policy to TaskConfig in order to pass it on to
    Mesos. The "finalization_wait" field of the task schema can be used to
    create the corresponding Kill Policy.
    What do you think?

View raw message