aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renan DelValle <>
Subject Re: Adding support for Mesos' Kill Policy when running docker executor-less tasks.
Date Thu, 05 Jan 2017 19:18:48 GMT
I think adding the kill policy to the Thrift API is fine. For the first
pass, I don't think it's a big deal to just keep it as a feature in the
Thrift API.

However, we should also have a discussion on how we should integrate the
increasing number of Thrift APIs missing from the main Aurora client. (Mea
culpa: I'm probably one of the guiltiest parties of neglecting this aspect.)

Now that AURORA-1288 has shipped, we should consider reviving discussion on
John's patch and even extending it.

Additional planning is definitely needed IF we plan to integrate (off the
top of my head):
* Custom Executors (At least rudimentary support, i.e.: Name + Data blob,
and also include the command-executor)
* Executor-less docker containers
* URI Fetcher
* Kill Policy

On Thu, Jan 5, 2017 at 1:09 PM, Erb, Stephan <>

> 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
> medallia:KillPolicyGracePeriod.
> 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
>     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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message