Skip to content

Commit

Permalink
config-linux: fix format and definitely require value of masked and r…
Browse files Browse the repository at this point in the history
…eadonly paths

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
  • Loading branch information
Ma Shimiao committed Sep 30, 2016
1 parent 1c7c27d commit 67c6964
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ For more information on how these two settings work together, see [the memory cg

#### Memory

`memory` represents the cgroup subsystem `memory` and it's used to set limits on the container's memory usage.
**`memory`** represents the cgroup subsystem `memory` and it's used to set limits on the container's memory usage.
For more information, see [the memory cgroup man page][cgroup-v1-memory].

The following parameters can be specified to setup the controller:
Expand Down Expand Up @@ -302,7 +302,7 @@ The following parameters can be specified to setup the controller:

#### CPU

`cpu` represents the cgroup subsystems `cpu` and `cpusets`.
**`cpu`** represents the cgroup subsystems `cpu` and `cpusets`.
For more information, see [the cpusets cgroup man page][cgroup-v1-cpusets].

The following parameters can be specified to setup the controller:
Expand Down Expand Up @@ -337,7 +337,7 @@ The following parameters can be specified to setup the controller:

#### Block IO Controller

`blockIO` represents the cgroup subsystem `blkio` which implements the block io controller.
**`blockIO`** represents the cgroup subsystem `blkio` which implements the block io controller.
For more information, see [the kernel cgroups documentation about blkio][cgroup-v1-blkio].

The following parameters can be specified to setup the controller:
Expand Down Expand Up @@ -395,11 +395,11 @@ The following parameters can be specified to setup the controller:

#### Huge page limits

`hugepageLimits` represents the `hugetlb` controller which allows to limit the
**`hugepageLimits`** represents the `hugetlb` controller which allows to limit the
HugeTLB usage per control group and enforces the controller limit during page fault.
For more information, see the [kernel cgroups documentation about HugeTLB][cgroup-v1-hugetlb].

`hugepageLimits` is an array of entries, each having the following structure:
**`hugepageLimits`** is an array of entries, each having the following structure:

* **`pageSize`** *(string, REQUIRED)* - hugepage size

Expand All @@ -418,7 +418,7 @@ For more information, see the [kernel cgroups documentation about HugeTLB][cgrou

#### Network

`network` represents the cgroup subsystems `net_cls` and `net_prio`.
**`network`** represents the cgroup subsystems `net_cls` and `net_prio`.
For more information, see [the net\_cls cgroup man page][cgroup-v1-net-cls] and [the net\_prio cgroup man page][cgroup-v1-net-prio].

The following parameters can be specified to setup these cgroup controllers:
Expand Down Expand Up @@ -450,7 +450,7 @@ processes in the group and egressing the system on various interfaces. The follo

#### PIDs

`pids` represents the cgroup subsystem `pids`.
**`pids`** represents the cgroup subsystem `pids`.
For more information, see [the pids cgroup man page][cgroup-v1-pids].

The following parameters can be specified to setup the controller:
Expand All @@ -467,7 +467,7 @@ The following parameters can be specified to setup the controller:

## Sysctl

`sysctl` allows kernel parameters to be modified at runtime for the container.
**`sysctl`** allows kernel parameters to be modified at runtime for the container.
For more information, see [the man page](http://man7.org/linux/man-pages/man8/sysctl.8.html)

###### Example
Expand Down Expand Up @@ -540,7 +540,7 @@ Operator Constants:

## Rootfs Mount Propagation

`rootfsPropagation` sets the rootfs's mount propagation.
**`rootfsPropagation`** sets the rootfs's mount propagation.
Its value is either slave, private, or shared.
[The kernel doc](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt) has more information about mount propagation.

Expand All @@ -552,7 +552,7 @@ Its value is either slave, private, or shared.

## Masked Paths

`maskedPaths` will mask over the provided paths inside the container so that they cannot be read.
**`maskedPaths`** (array of strings, OPTIONAL) will mask over the provided paths inside the container so that they cannot be read. The values MUST be absolute paths.

###### Example

Expand All @@ -564,7 +564,7 @@ Its value is either slave, private, or shared.

## Readonly Paths

`readonlyPaths` will set the provided paths as readonly inside the container.
**`readonlyPaths`** (array of strings, OPTIONAL) will set the provided paths as readonly inside the container. The values MUST be absolute paths.

###### Example

Expand All @@ -576,7 +576,7 @@ Its value is either slave, private, or shared.

## Mount Label

`mountLabel` will set the Selinux context for the mounts in the container.
**`mountLabel`** will set the Selinux context for the mounts in the container.

###### Example

Expand Down

0 comments on commit 67c6964

Please sign in to comment.