mirror of
https://github.com/opencontainers/runtime-spec.git
synced 2026-02-05 18:45:18 +01:00
Use MUST and MAY for weight and leafWeight
Carry: #728 Signed-off-by: Rob Dolin <robdolin@microsoft.com> Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
@@ -361,7 +361,7 @@ The following parameters can be specified to setup the controller:
|
||||
* **`weight`** *(uint16, OPTIONAL)* - bandwidth rate for the device, range is from 10 to 1000
|
||||
* **`leafWeight`** *(uint16, OPTIONAL)* - bandwidth rate for the device while competing with the cgroup's child cgroups, range is from 10 to 1000, CFQ scheduler only
|
||||
|
||||
You must specify at least one of `weight` or `leafWeight` in a given entry, and can specify both.
|
||||
You MUST specify at least one of `weight` or `leafWeight` in a given entry, and MAY specify both.
|
||||
|
||||
* **`blkioThrottleReadBpsDevice`**, **`blkioThrottleWriteBpsDevice`**, **`blkioThrottleReadIOPSDevice`**, **`blkioThrottleWriteIOPSDevice`** *(array, OPTIONAL)* - specify the list of devices which will be IO rate limited.
|
||||
The following parameters can be specified per-device:
|
||||
|
||||
Reference in New Issue
Block a user