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 33a4f5883066a235ea45bcf1b8b287e77f74fbec Author: Qian Zhang <[email protected]> AuthorDate: Tue Dec 3 21:36:01 2019 +0800 Added resource limits into `TaskInfo`. Review: https://reviews.apache.org/r/71855 --- include/mesos/mesos.proto | 3 +++ include/mesos/v1/mesos.proto | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto index 7d77ddd..e48d6f3 100644 --- a/include/mesos/mesos.proto +++ b/include/mesos/mesos.proto @@ -2283,6 +2283,9 @@ message TaskInfo { // It is the executor's responsibility to implement this, so it might not be // supported by all custom executors. optional DurationInfo max_completion_time = 14; + + // Resource limits associated with the task. + map<string, Value.Scalar> limits = 15; } diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto index 7abb6ba..9533261 100644 --- a/include/mesos/v1/mesos.proto +++ b/include/mesos/v1/mesos.proto @@ -2272,6 +2272,9 @@ message TaskInfo { // It is the executor's responsibility to implement this, so it might not be // supported by all custom executors. optional DurationInfo max_completion_time = 14; + + // Resource limits associated with the task. + map<string, Value.Scalar> limits = 15; }
