This is an automated email from the ASF dual-hosted git repository. qianzhang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 4de6f2698c6a0a79cc3bdc254f938a4c4ee65160 Author: Qian Zhang <[email protected]> AuthorDate: Tue Dec 3 21:36:50 2019 +0800 Added resource limits into `ContainerConfig`. Review: https://reviews.apache.org/r/71856 --- include/mesos/slave/containerizer.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/mesos/slave/containerizer.proto b/include/mesos/slave/containerizer.proto index 8b1a268..340268b 100644 --- a/include/mesos/slave/containerizer.proto +++ b/include/mesos/slave/containerizer.proto @@ -136,11 +136,14 @@ message ContainerConfig { // same across all fields. optional ContainerInfo container_info = 12; - // Resources associated with the container during launch. + // Resource requests associated with the container during launch. // When either `task_info` or `executor_info` are specified, this will // always be the sum of the Resources within those fields. repeated Resource resources = 13; + // Resource limits associated with the container during launch. + map<string, Value.Scalar> limits = 16; + // The class of container being launched. Used by isolators to // perform different operations depending on the class. optional ContainerClass container_class = 14;
