----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68366/ -----------------------------------------------------------
(Updated Aug. 24, 2018, 10:54 p.m.) Review request for mesos and James Peach. Bugs: MESOS-9133 https://issues.apache.org/jira/browse/MESOS-9133 Repository: mesos Description ------- Added the `--container_ports_isolated_range` flag to the `network/ports` isolator. This allows the operator to specify a custom port range to be protected by the isolator. If a task listens on a port that it isn't holding resources for, the isolator will not raise a limitation unless the port is within this range. We can represent the `--check_agent_port_range_only` as a special case of a protected range. Diffs (updated) ----- docs/configuration/agent.md e98a9786aa2d1f5c87aec4db8b65457c3293156e docs/isolators/network-ports.md 5d14fc2985e099783b09e2a19f99641b4ddbd768 src/slave/containerizer/mesos/isolators/network/ports.hpp 6944d01e0f8a11eda381ef1754f19ee0cf9359c8 src/slave/containerizer/mesos/isolators/network/ports.cpp 2a7ff2530f898cf892739c715b07b3387b423ed9 src/slave/flags.hpp bff194fef98f38a8b91d86ef4ec99889d0cfe31f src/slave/flags.cpp e017f3921a0bccc03f6ef639a04163bf7fc4e79b src/tests/containerizer/ports_isolator_tests.cpp db080c4e9c8b0c036294a8f7a42617ca1231f884 Diff: https://reviews.apache.org/r/68366/diff/9/ Changes: https://reviews.apache.org/r/68366/diff/8-9/ Testing (updated) ------- sudo GLOG_v=1 ./bin/mesos-tests.sh --verbose --gtest_filter="NetworkPortsIsolatorTest.*" [----------] 13 tests from NetworkPortsIsolatorTest (26387 ms total) [----------] Global test environment tear-down [==========] 13 tests from 1 test case ran. (26399 ms total) [ PASSED ] 13 tests. Thanks, Xudong Ni