-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53627/
-----------------------------------------------------------
(Updated Nov. 10, 2016, 5:53 p.m.)
Review request for mesos and Jie Yu.
Bugs: MESOS-6556
https://issues.apache.org/jira/browse/MESOS-6556
Repository: mesos
Description
-------
Implement a very simple namespaces/uts isolator that can be used to set
the hostname and domainname of a container without the necessity of a
CNI plugin.
Since we already had a `hostname` field in the ContainerInfo, we can
use that to set the host name once we are in the UTS namespace. Add a
corresponding `domainname` to the ContainerInfo to allow setting the
domain name.
Diffs (updated)
-----
include/mesos/mesos.proto 380575904a5a29ee53bdc87ae8791ed14e3cafca
include/mesos/slave/containerizer.proto f4c4ad771b5dead4ea3ee7cd1b4383c4dc2359b4
src/Makefile.am 5a47c93388234a68c3c486a021ccdbe3213c5bac
src/cli/execute.cpp b47c427c5ad29dda1985ee8fef6c4efe054df879
src/slave/containerizer/mesos/containerizer.cpp 44225ebf63d8dd93be9b60fff496c74dc6c3a5ad
src/slave/containerizer/mesos/isolators/namespaces/uts.hpp PRE-CREATION
src/slave/containerizer/mesos/isolators/namespaces/uts.cpp PRE-CREATION
src/slave/containerizer/mesos/launch.hpp 8b23c1b6df6bc1fdd987af5a4469664356e7f27a
src/slave/containerizer/mesos/launch.cpp 377a9d94aa780ab598b1c2034c10ce25a4e02cbe
src/tests/containerizer/isolator_tests.cpp 8fefeef8c83ed2ab01f56a1ec572d3acb307143c
Diff: https://reviews.apache.org/r/53627/diff/
Testing
-------
make check.
Thanks,
James Peach
|