mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@mesosphere.io>
Subject Re: Review Request 63680: Added a container daemon to monitor a long-running standalone container.
Date Fri, 10 Nov 2017 02:13:32 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63680/
-----------------------------------------------------------

(Updated Nov. 10, 2017, 2:13 a.m.)


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


Changes
-------

Redesigned.


Bugs: MESOS-8183
    https://issues.apache.org/jira/browse/MESOS-8183


Repository: mesos


Description (updated)
-------

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 launch.
* `postStopHook`: called after the container exits.

`ContainerDaemon` does not manage the lifecycle of the contanier it
monitors, so the container persists across `ContainerDaemon`s. However,
it provides a `terminate()` method to completely shutdown the monitoring
container.


Diffs (updated)
-----

  src/Makefile.am 1c97b1fd8151f87c4e9e6d62884b0ef7d582c312 
  src/slave/container_daemon.hpp PRE-CREATION 
  src/slave/container_daemon.cpp PRE-CREATION 


Diff: https://reviews.apache.org/r/63680/diff/2/

Changes: https://reviews.apache.org/r/63680/diff/1-2/


Testing
-------


Thanks,

Chun-Hung Hsiao


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