You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2019/07/19 22:34:00 UTC
[mesos-site] branch asf-site updated: Updated the website built
from mesos SHA: 02b6467f9.
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/mesos-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 717574d Updated the website built from mesos SHA: 02b6467f9.
717574d is described below
commit 717574d505cf7acfd25fdaae6a2b194c0607afdc
Author: jenkins <bu...@apache.org>
AuthorDate: Fri Jul 19 22:33:55 2019 +0000
Updated the website built from mesos SHA: 02b6467f9.
---
.../java/org/apache/mesos/Protos.LinuxInfo.Builder.html | 16 ++++++++++++----
.../latest/java/org/apache/mesos/Protos.LinuxInfo.html | 8 ++++++--
.../java/org/apache/mesos/Protos.LinuxInfoOrBuilder.html | 8 ++++++--
.../latest/isolators/namespaces-ipc/index.html | 4 ++++
4 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.Builder.html b/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.Builder.html
index c6085dd..bfef965 100644
--- a/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.Builder.html
+++ b/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.Builder.html
@@ -1489,7 +1489,9 @@ public <a href="../../../org/apache/mesos/Protos.CapabilityInfoOrBuilder.ht
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
@@ -1512,7 +1514,9 @@ public <a href="../../../org/apache/mesos/Protos.CapabilityInfoOrBuilder.ht
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
@@ -1535,7 +1539,9 @@ public <a href="../../../org/apache/mesos/Protos.CapabilityInfoOrBuilder.ht
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
@@ -1554,7 +1560,9 @@ public <a href="../../../org/apache/mesos/Protos.CapabilityInfoOrBuilder.ht
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
diff --git a/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html b/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html
index ef5c9a6..4252fb1 100644
--- a/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html
+++ b/content/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html
@@ -991,7 +991,9 @@ public <a href="../../../org/apache/mesos/Protos.CapabilityInfoOrBuilder.ht
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
@@ -1014,7 +1016,9 @@ public <a href="../../../org/apache/mesos/Protos.CapabilityInfoOrBuilder.ht
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
diff --git a/content/api/latest/java/org/apache/mesos/Protos.LinuxInfoOrBuilder.html b/content/api/latest/java/org/apache/mesos/Protos.LinuxInfoOrBuilder.html
index d3f7ed3..a863163 100644
--- a/content/api/latest/java/org/apache/mesos/Protos.LinuxInfoOrBuilder.html
+++ b/content/api/latest/java/org/apache/mesos/Protos.LinuxInfoOrBuilder.html
@@ -569,7 +569,9 @@ boolean hasCapabilityInfo()</pre>
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
@@ -588,7 +590,9 @@ boolean hasCapabilityInfo()</pre>
flag is not set too, the size of the /dev/shm will be half of the host RAM
which is the default behavior of Linux. This field will be ignored for the
container which shares /dev/shm from its parent and it will be also ignored
- for any containers if the `namespaces/ipc` isolator is not enabled.
+ for any containers if the `namespaces/ipc` isolator is not enabled. Please
+ note that we only support setting this field when the `ipc_mode` field is
+ set to `PRIVATE` otherwise the container launch will be rejected.
</pre>
<code>optional uint32 shm_size = 7;</code></div>
diff --git a/content/documentation/latest/isolators/namespaces-ipc/index.html b/content/documentation/latest/isolators/namespaces-ipc/index.html
index ed7df2f..0c355cc 100644
--- a/content/documentation/latest/isolators/namespaces-ipc/index.html
+++ b/content/documentation/latest/isolators/namespaces-ipc/index.html
@@ -161,6 +161,10 @@ of the agent host RAM which is the default behavior of Linux. The
<code>ContainerInfo.linux_info.shm_size</code> field will be ignored for the container which
shares its parent’s /dev/shm.</p>
+<p>Please note that we only support setting the <code>ContainerInfo.linux_info.shm_size</code> field
+when the <code>ContainerInfo.linux_info.ipc_mode</code> field is set to <code>PRIVATE</code>, otherwise the
+container launch will be rejected.</p>
+
</div>
</div>