You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2019/08/29 17:25:36 UTC

[mesos] branch master updated (00f7f48 -> e3a000a)

This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.


    from 00f7f48  Updated release guide.
     new 2a25238  Removed experimental warning from UPDATE_QUOTA call.
     new e3a000a  Updated upgrades.md to note quota limits changes.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/upgrades.md                     | 21 +++++++++++++++++++++
 include/mesos/master/master.proto    |  4 ----
 include/mesos/v1/master/master.proto |  4 ----
 3 files changed, 21 insertions(+), 8 deletions(-)


[mesos] 02/02: Updated upgrades.md to note quota limits changes.

Posted by bm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit e3a000a065b25f1f845edea4d5fab0137a1b2159
Author: Benjamin Mahler <bm...@apache.org>
AuthorDate: Thu Aug 29 12:59:54 2019 -0400

    Updated upgrades.md to note quota limits changes.
    
    In particular:
    
      * UPDATE_QUOTA replaces the old SET_QUOTA and REMOVE_QUOTA calls.
    
      * Quota guarantees are still functional, but deprecated in
        preparation for optimistic offers.
    
    Review: https://reviews.apache.org/r/71412
---
 docs/upgrades.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/docs/upgrades.md b/docs/upgrades.md
index ded4a8d..31f4a19 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -48,6 +48,7 @@ We categorize the changes as follows:
 
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Mesos Core-->
     <ul style="padding-left:10px;">
+      <li>A <a href="#1-9-x-quota-guarantees">Quota Limits</a></li>
       <li>A <a href="#1-9-x-linux-nnp-isolator">Linux NNP isolator</a></li>
       <li>A <a href="#1-9-x-hostname-validation-scheme">hostname_validation_scheme</a></li>
       <li>C <a href="#1-9-x-client-certificate-verification">TLS certificate verification behaviour</a></li>
@@ -77,6 +78,10 @@ We categorize the changes as follows:
 
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Endpoints-->
     <ul style="padding-left:10px;">
+      <li>D <a href="#1-9-x-update-quota">SET_QUOTA and REMOVE QUOTA deprecated
+            in favor of UPDATE_QUOTA</a></li>
+      <li>D <a href="#1-9-x-quota-guarantees">Quota guarantees deprecated in favor
+            of using quota limits</a></li>
     </ul>
   </td>
 </tr>
@@ -515,23 +520,28 @@ We categorize the changes as follows:
 ## Upgrading from 1.8.x to 1.9.x ##
 
 <a name="1-9-x-automatic-agent-draining"></a>
+
   * A new `DRAINING` state has been added to Mesos agents. Once an agent is draining, all tasks running on that agent are gracefully
     killed and no offers for that agent are sent to schedulers, preventing the launching of new tasks.
     Operators can put an agent into `DRAINING` state by using the `DRAIN_AGENT` operator API call.
     See [`docs/maintenance`](maintenance.md) for details.
 
 <a name="1-9-x-linux-nnp-isolator"></a>
+
   * A new [`linux/nnp`](isolators/linux-nnp.md) isolator has been added. The isolator supports setting of the `no_new_privs` bit in the container, preventing tasks from acquiring additional privileges.
 
 <a name="1-9-x-docker-ignore-runtime"></a>
+
   * A new [`--docker_ignore_runtime`](configuration/agent.md#docker_ignore_runtime) flag has been added. This causes the agent to ignore any runtime configuration present in Docker images.
 
 <a name="1-9-x-hostname-validation-scheme"></a>
+
 * A new libprocess TLS flag `--hostname_validation_scheme` along with the corresponding environment variable `LIBPROCESS_SSL_HOSTNAME_VALIDATION_SCHEME`
   has been added. Using this flag, users can configure the way libprocess performs hostname validation for TLS connections.
   See [`docs/ssl`](ssl.md) for details.
 
 <a name="1-9-x-client-certificate-verification"></a>
+
 * The semantics of the libprocess environment variables `LIBPROCESS_SSL_VERIFY_CERT` and `LIBPROCESS_SSL_REQUIRE_CERT` have been slightly updated such that
   the former now only applies to client-mode and the latter only to server-mode connections. As part of this re-adjustment, the following two changes have
   been introduced that might require changes for operators running Mesos in unusual TLS configurations.
@@ -544,8 +554,19 @@ We categorize the changes as follows:
     the `LIBPROCESS_SSL_REQUIRE_CERT` option is set to true.
 
 <a name="1-9-x-configurable-ipc"></a>
+
 * The Mesos containerizer now supports configurable IPC namespace and /dev/shm. Container can be configured to have a private IPC namespace and /dev/shm or share them from its parent via the field `LinuxInfo.ipc_mode`, and the size of its private /dev/shm is also configurable via the field `LinuxInfo.shm_size`. Operators can control whether it is allowed to share host's IPC namespace and /dev/shm with top level containers via the agent flag `--disallow_sharing_agent_ipc_namespace`, and s [...]
 
+<a name="1-9-x-update-quota"></a>
+
+* The `SET_QUOTA` and `REMOVE QUOTA` master calls are deprecated in favor of a new `UPDATE_QUOTA` master call.
+
+<a name="#1-9-x-quota-guarantees"></a>
+
+* Prior to Mesos 1.9, the quota related APIs only exposed quota "guarantees" which ensured a minimum amount of resources would be available to a role. Setting guarantees also set implicit quota limits. In Mesos 1.9+, quota limits are now exposed directly.
+  * Quota guarantees are now deprecated in favor of using only quota limits. Enforcement of quota guarantees required that Mesos holds back enough resources to meet all of the unsatisfied quota guarantees. Since Mesos is moving towards an optimistic offer model (to improve multi-role / multi- scheduler scalability, see MESOS-1607), it will become no longer possible to enforce quota guarantees by holding back resources. In such a model, quota limits are simple to enforce, but quota guaran [...]
+  * For these reasons, quota guarantees, while still functional in Mesos 1.9, are now deprecated. A combination of limits and priority based preemption will be simpler in an optimistic offer model.
+
 ## Upgrading from 1.7.x to 1.8.x ##
 
 <a name="1-8-x-linux-seccomp-isolator"></a>


[mesos] 01/02: Removed experimental warning from UPDATE_QUOTA call.

Posted by bm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 2a25238d1514e27d641383db6cd0f6b6554e595c
Author: Benjamin Mahler <bm...@apache.org>
AuthorDate: Thu Aug 29 12:59:01 2019 -0400

    Removed experimental warning from UPDATE_QUOTA call.
    
    This is now a fully functional feature and is released in 1.9.
    
    Review: https://reviews.apache.org/r/71411
---
 include/mesos/master/master.proto    | 4 ----
 include/mesos/v1/master/master.proto | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/include/mesos/master/master.proto b/include/mesos/master/master.proto
index 8386bd6..315809c 100644
--- a/include/mesos/master/master.proto
+++ b/include/mesos/master/master.proto
@@ -274,10 +274,6 @@ message Call {
     required SlaveID slave_id = 1;
   }
 
-  // EXPERIMENTAL DO NOT USE.
-  //
-  // This feature is not implementation complete.
-  //
   // Updates quota given the provided quota configurations, these configurations
   // are applied in an all-or-nothing manner.
   message UpdateQuota {
diff --git a/include/mesos/v1/master/master.proto b/include/mesos/v1/master/master.proto
index 893162d..5c99112 100644
--- a/include/mesos/v1/master/master.proto
+++ b/include/mesos/v1/master/master.proto
@@ -275,10 +275,6 @@ message Call {
     required AgentID agent_id = 1;
   }
 
-  // EXPERIMENTAL DO NOT USE.
-  //
-  // This feature is not implementation complete.
-  //
   // Updates quota given the provided quota configurations, these configurations
   // are applied in an all-or-nothing manner.
   message UpdateQuota {