mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <>
Subject Re: Review Request 63680: Added a container daemon to monitor a long-running standalone container.
Date Wed, 29 Nov 2017 20:52:44 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Nov. 29, 2017, 8:52 p.m.)

Review request for mesos, Gilbert Song, Jie Yu, and Joseph Wu.


Made hook functions optional.

Bugs: MESOS-8183

Repository: mesos


The `ContanierDaemon` class is responsible to monitor if a long-running
service running in a standalone container, and restart the service
container after it exits. It takes the following hook functions:

* `postStartHook`: called after the container is launched every time.
* `postStopHook`: called after the container exits every time.

`ContainerDaemon` does not manage the lifecycle of the contanier it
monitors, so the container persists across `ContainerDaemon`s.

Diffs (updated)

  src/ 9641ad4cf2a1f7fe56a4dcccb6eeff7130872fa8 
  src/slave/container_daemon.hpp PRE-CREATION 
  src/slave/container_daemon.cpp PRE-CREATION 



Testing (updated)



Chun-Hung Hsiao

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