You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gr...@apache.org on 2019/08/30 14:56:59 UTC

[mesos] branch 1.9.x updated (091f193 -> 5e79a58)

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

grag pushed a change to branch 1.9.x
in repository https://gitbox.apache.org/repos/asf/mesos.git.


    from 091f193  Updated docs for the AGENT_DRAINING capability.
     new 9aa7dab  Removed experimental warning from UPDATE_QUOTA call.
     new 499a571  Updated upgrades.md to note quota limits changes.
     new 5e79a58  Fixed formatting in the upgrade docs.

The 3 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                     | 34 ++++++++++++++++++++++++++++------
 include/mesos/master/master.proto    |  4 ----
 include/mesos/v1/master/master.proto |  4 ----
 3 files changed, 28 insertions(+), 14 deletions(-)


[mesos] 03/03: Fixed formatting in the upgrade docs.

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

grag pushed a commit to branch 1.9.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 5e79a584e6ec3e9e2f96e8bf418411df9dafac2e
Author: Greg Mann <gr...@gmail.com>
AuthorDate: Fri Aug 30 11:48:18 2019 -0300

    Fixed formatting in the upgrade docs.
---
 docs/upgrades.md | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/docs/upgrades.md b/docs/upgrades.md
index d36a9a4..d745752 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -522,21 +522,22 @@ We categorize the changes as follows:
 
 <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 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-agent-features"></a>
+
 * The Mesos agent now requires the new `AGENT_DRAINING` feature. This capability is set by default, but if the `--agent_features` flag is specified explicitly, `AGENT_DRAINING` must be included.
 
 <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 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 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>
 


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

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

grag pushed a commit to branch 1.9.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 9aa7dab8061292d22ac870a2cf8856dca50e31d2
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 {


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

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

grag pushed a commit to branch 1.9.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 499a57188518e6d541f95e0d10ac264e6f83a735
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 0345e22..d36a9a4 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>
@@ -78,6 +79,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>
@@ -516,6 +521,7 @@ 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.
@@ -525,17 +531,21 @@ We categorize the changes as follows:
 * The Mesos agent now requires the new `AGENT_DRAINING` feature. This capability is set by default, but if the `--agent_features` flag is specified explicitly, `AGENT_DRAINING` must be included.
 
 <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.
@@ -548,8 +558,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>