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 13:23:59 UTC

[mesos] branch 1.9.x updated: Updated docs for the AGENT_DRAINING capability.

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


The following commit(s) were added to refs/heads/1.9.x by this push:
     new 091f193  Updated docs for the AGENT_DRAINING capability.
091f193 is described below

commit 091f193685142e5187a4f84d55ed1e28ac34749c
Author: Greg Mann <gr...@mesosphere.io>
AuthorDate: Fri Aug 30 10:23:10 2019 -0300

    Updated docs for the AGENT_DRAINING capability.
    
    Review: https://reviews.apache.org/r/71405/
---
 docs/configuration/agent.md | 7 ++++---
 docs/upgrades.md            | 4 ++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/docs/configuration/agent.md b/docs/configuration/agent.md
index 760d22b..91e38c2 100644
--- a/docs/configuration/agent.md
+++ b/docs/configuration/agent.md
@@ -92,8 +92,8 @@ Example:
   </td>
   <td>
 JSON representation of agent features to whitelist. We always require
-'MULTI_ROLE', 'HIERARCHICAL_ROLE', 'RESERVATION_REFINEMENT', and
-'AGENT_OPERATION_FEEDBACK'.
+'MULTI_ROLE', 'HIERARCHICAL_ROLE', 'RESERVATION_REFINEMENT',
+'AGENT_OPERATION_FEEDBACK', and 'AGENT_DRAINING'.
 <p/>
 Example:
 <pre><code>
@@ -102,7 +102,8 @@ Example:
         {"type": "MULTI_ROLE"},
         {"type": "HIERARCHICAL_ROLE"},
         {"type": "RESERVATION_REFINEMENT"},
-        {"type": "AGENT_OPERATION_FEEDBACK"}
+        {"type": "AGENT_OPERATION_FEEDBACK"},
+        {"type": "AGENT_DRAINING"}
     ]
 }
 </pre></code>
diff --git a/docs/upgrades.md b/docs/upgrades.md
index ded4a8d..0345e22 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -61,6 +61,7 @@ We categorize the changes as follows:
       <li>A <a href="#1-9-x-docker-ignore-runtime">docker_ignore_runtime</a></li>
       <li>A <a href="#1-9-x-configurable-ipc">disallow_sharing_agent_ipc_namespace</a></li>
       <li>A <a href="#1-9-x-configurable-ipc">default_container_shm_size</a></li>
+      <li>C <a href="#1-9-x-agent-features">agent_features</a></li>
     </ul>
   </td>
 
@@ -520,6 +521,9 @@ We categorize the changes as follows:
     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.