You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by qi...@apache.org on 2018/08/16 06:54:40 UTC

[mesos] branch master updated: Documented the volume mode support.

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


The following commit(s) were added to refs/heads/master by this push:
     new b0aff2c  Documented the volume mode support.
b0aff2c is described below

commit b0aff2c54065b02f3b5c5445d239fc01e3c0e979
Author: Qian Zhang <zh...@gmail.com>
AuthorDate: Thu Aug 16 14:50:54 2018 +0800

    Documented the volume mode support.
---
 docs/upgrades.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/upgrades.md b/docs/upgrades.md
index f3cf0b0..ec9b3af 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -51,6 +51,7 @@ We categorize the changes as follows:
       <li>A <a href="#1-7-x-linux-devices-isolator">Linux devices isolator</a></li>
       <li>A <a href="#1-7-x-auto-load-subsystems">Automatically load local enabled cgroups subsystems</a></li>
       <li>A <a href="#1-7-x-container-specific-cgroups-mounts">Container-specific cgroups mounts</a></li>
+      <li>A <a href="#1-7-x-volume-mode-support">Volume mode support</a></li>
     </ul>
   </td>
 
@@ -468,6 +469,10 @@ We categorize the changes as follows:
 
 * The semantics of `Sorter::update` has been changed so that resources can be removed from a client's allocation without removing the full agent in which they reside. Callers are expected to update the total resources of the agent as well by, e.g., removing the agent and adding it back with the new total resources.
 
+<a name="1-7-x-volume-mode-support"></a>
+
+* Previously the HOST_PATH/SANDBOX_PATH/IMAGE/SECRET/DOCKER_VOLUME volumes were always mounted for container in read-write mode, i.e., the `Volume.mode` field was not honored. Now we will mount these volumes based on the `Volume.mode` field so framework can choose to mount the volume for the container in either read-write mode or read-only mode.
+
 ## Upgrading from 1.5.x to 1.6.x ##
 
 <a name="1-6-x-grpc-requirement"></a>