mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #38792 from thaJeztah/update_api_changelog
Add new PidsLimit options to API version history
This commit is contained in:
commit
19c5ff9c64
3 changed files with 12 additions and 4 deletions
|
@ -460,7 +460,8 @@ definitions:
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
PidsLimit:
|
PidsLimit:
|
||||||
description: "Tune a container's pids limit. Set 0 or -1 for unlimited. Leave null to not change"
|
description: |
|
||||||
|
Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change.
|
||||||
type: "integer"
|
type: "integer"
|
||||||
format: "int64"
|
format: "int64"
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
|
|
|
@ -334,7 +334,7 @@ type Resources struct {
|
||||||
MemorySwap int64 // Total memory usage (memory + swap); set `-1` to enable unlimited swap
|
MemorySwap int64 // Total memory usage (memory + swap); set `-1` to enable unlimited swap
|
||||||
MemorySwappiness *int64 // Tuning container memory swappiness behaviour
|
MemorySwappiness *int64 // Tuning container memory swappiness behaviour
|
||||||
OomKillDisable *bool // Whether to disable OOM Killer or not
|
OomKillDisable *bool // Whether to disable OOM Killer or not
|
||||||
PidsLimit *int64 // Setting pids limit for a container
|
PidsLimit *int64 // Setting PIDs limit for a container; Set `0` or `-1` for unlimited, or `null` to not change.
|
||||||
Ulimits []*units.Ulimit // List of ulimits to be set in the container
|
Ulimits []*units.Ulimit // List of ulimits to be set in the container
|
||||||
|
|
||||||
// Applicable to Windows
|
// Applicable to Windows
|
||||||
|
|
|
@ -43,6 +43,9 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||||
`BindOptions.NonRecursive`.
|
`BindOptions.NonRecursive`.
|
||||||
* `POST /swarm/init` now accepts a `DataPathPort` property to set data path port number.
|
* `POST /swarm/init` now accepts a `DataPathPort` property to set data path port number.
|
||||||
* `GET /info` now returns information about `DataPathPort` that is currently used in swarm
|
* `GET /info` now returns information about `DataPathPort` that is currently used in swarm
|
||||||
|
* `GET /info` now returns `PidsLimit` boolean to indicate if the host kernel has
|
||||||
|
PID limit support enabled.
|
||||||
|
|
||||||
* `GET /swarm` endpoint now returns DataPathPort info
|
* `GET /swarm` endpoint now returns DataPathPort info
|
||||||
* `POST /containers/create` now takes `KernelMemoryTCP` field to set hard limit for kernel TCP buffer memory.
|
* `POST /containers/create` now takes `KernelMemoryTCP` field to set hard limit for kernel TCP buffer memory.
|
||||||
* `GET /service` now returns `MaxReplicas` as part of the `Placement`.
|
* `GET /service` now returns `MaxReplicas` as part of the `Placement`.
|
||||||
|
@ -50,8 +53,12 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||||
* `POST /service/create` and `POST /services/(id or name)/update` now take the field `MaxReplicas`
|
* `POST /service/create` and `POST /services/(id or name)/update` now take the field `MaxReplicas`
|
||||||
as part of the service `Placement`, allowing to specify maximum replicas per node for the service.
|
as part of the service `Placement`, allowing to specify maximum replicas per node for the service.
|
||||||
* `GET /containers` now returns `Capabilities` field as part of the `HostConfig`.
|
* `GET /containers` now returns `Capabilities` field as part of the `HostConfig`.
|
||||||
* `GET /containers/{id}` now returns `Capabilities` field as part of the `HostConfig`.
|
* `GET /containers/{id}` now returns a `Capabilities` field as part of the `HostConfig`.
|
||||||
* `POST /containers/create` now takes `Capabilities` field to set exact list kernel capabilities to be available for container (this overrides the default set).
|
* `POST /containers/create` now takes a `Capabilities` field to set the list of
|
||||||
|
kernel capabilities to be available for the container (this overrides the default
|
||||||
|
set).
|
||||||
|
* `POST /containers/{id}/update` now accepts a `PidsLimit` field to tune a container's
|
||||||
|
PID limit. Set `0` or `-1` for unlimited. Leave `null` to not change the current value.
|
||||||
|
|
||||||
## V1.39 API changes
|
## V1.39 API changes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue