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

[mesos] branch master updated: Updated CHANGELOG entry for agent draining.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5569b18  Updated CHANGELOG entry for agent draining.
5569b18 is described below

commit 5569b181fe629454f8806bf1d62bb748df5ae646
Author: Benno Evers <be...@mesosphere.com>
AuthorDate: Wed Aug 28 16:41:11 2019 +0200

    Updated CHANGELOG entry for agent draining.
    
    Moved the CHANGELOG entry for agent draining into a
    separate `Maintenance` subsection and added an item
    to `docs/upgrades.md` covering the feature.
    
    Review: https://reviews.apache.org/r/71389/
---
 CHANGELOG        | 10 ++++++----
 docs/upgrades.md |  7 +++++++
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 9354638..6291d29 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,12 @@ Release Notes - Mesos - Version 1.9.0
 -------------------------------------
 This release contains the following highlights:
 
+  * Maintenance:
+
+    * Added new APIs to support automatic node draining via operator APIs.
+      This serves as an alternative to framework-assisted draining using
+      maintenance primitives. (MESOS-9753)
+
   * Resource Management:
 
     * Support for quota limits has been added. The existing quota guarantees
@@ -53,10 +59,6 @@ Additional API Changes:
     NOTE: This new overload is only available when libprocess is compiled
     with `--enable-ssl`.
 
-  * Added new APIs to support automatic node draining via operator APIs.
-    This serves as an alternative to framework-assisted draining using
-    maintenance primitives. (MESOS-9753)
-
  Unresolved Critical Issues:
   * MESOS-9889 - Master CPU high due to unexpected foreachkey behaviour in Master::__reregisterSlave
   * MESOS-9697 - Release RPMs are not uploaded to bintray
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 63eb1bb..ded4a8d 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -52,6 +52,7 @@ We categorize the changes as follows:
       <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>
       <li>C <a href="#1-9-x-configurable-ipc">Configurable IPC namespace and /dev/shm</a></li>
+      <li>A <a href="#1-9-x-automatic-agent-draining">Automatic Agent Draining</a></li>
     </ul>
  </td>
 
@@ -513,6 +514,12 @@ 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.