Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 6.01 KB

File metadata and controls

41 lines (36 loc) · 6.01 KB

ContainerUpdateRequest

Properties

Name Type Description Notes
cpuShares kotlin.Int An integer value representing this container's relative CPU weight versus other containers. [optional]
memory kotlin.Long Memory limit in bytes. [optional]
cgroupParent kotlin.String Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. [optional]
blkioWeight kotlin.Int Block IO weight (relative weight). [optional]
blkioWeightDevice kotlin.collections.MutableList<ResourcesBlkioWeightDeviceInner> Block IO weight (relative device weight) in the form: ``` [{&quot;Path&quot;: &quot;device_path&quot;, &quot;Weight&quot;: weight}] ``` [optional]
blkioDeviceReadBps kotlin.collections.MutableList<ThrottleDevice> Limit read rate (bytes per second) from a device, in the form: ``` [{&quot;Path&quot;: &quot;device_path&quot;, &quot;Rate&quot;: rate}] ``` [optional]
blkioDeviceWriteBps kotlin.collections.MutableList<ThrottleDevice> Limit write rate (bytes per second) to a device, in the form: ``` [{&quot;Path&quot;: &quot;device_path&quot;, &quot;Rate&quot;: rate}] ``` [optional]
blkioDeviceReadIOps kotlin.collections.MutableList<ThrottleDevice> Limit read rate (IO per second) from a device, in the form: ``` [{&quot;Path&quot;: &quot;device_path&quot;, &quot;Rate&quot;: rate}] ``` [optional]
blkioDeviceWriteIOps kotlin.collections.MutableList<ThrottleDevice> Limit write rate (IO per second) to a device, in the form: ``` [{&quot;Path&quot;: &quot;device_path&quot;, &quot;Rate&quot;: rate}] ``` [optional]
cpuPeriod kotlin.Long The length of a CPU period in microseconds. [optional]
cpuQuota kotlin.Long Microseconds of CPU time that the container can get in a CPU period. [optional]
cpuRealtimePeriod kotlin.Long The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks. [optional]
cpuRealtimeRuntime kotlin.Long The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks. [optional]
cpusetCpus kotlin.String CPUs in which to allow execution (e.g., `0-3`, `0,1`). [optional]
cpusetMems kotlin.String Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems. [optional]
devices kotlin.collections.MutableList<DeviceMapping> A list of devices to add to the container. [optional]
deviceCgroupRules kotlin.collections.MutableList<kotlin.String> a list of cgroup rules to apply to the container [optional]
deviceRequests kotlin.collections.MutableList<DeviceRequest> A list of requests for devices to be sent to device drivers. [optional]
kernelMemoryTCP kotlin.Long Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. [optional]
memoryReservation kotlin.Long Memory soft limit in bytes. [optional]
memorySwap kotlin.Long Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. [optional]
memorySwappiness kotlin.Long Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. [optional]
nanoCpus kotlin.Long CPU quota in units of 10<sup>-9</sup> CPUs. [optional]
oomKillDisable kotlin.Boolean Disable OOM Killer for the container. [optional]
`init` kotlin.Boolean Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. [optional]
pidsLimit kotlin.Long Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. [optional]
ulimits kotlin.collections.MutableList<ResourcesUlimitsInner> A list of resource limits to set in the container. For example: ``` {&quot;Name&quot;: &quot;nofile&quot;, &quot;Soft&quot;: 1024, &quot;Hard&quot;: 2048} ``` [optional]
cpuCount kotlin.Long The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. [optional]
cpuPercent kotlin.Long The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. [optional]
ioMaximumIOps kotlin.Long Maximum IOps for the container system drive (Windows only) [optional]
ioMaximumBandwidth kotlin.Long Maximum IO in bytes per second for the container system drive (Windows only). [optional]
restartPolicy RestartPolicy [optional]