mirror of
https://github.com/moby/moby.git
synced 2026-08-07 08:31:39 +00:00
api: deprecate KernelMemoryTCP support
Starting with kernel v6.12, kernel memory TCP accounting is deprecated for cgroups v1. Note: kernel memory TCP accounting is not supported by cgroups v2. Seed046ff46eeSigned-off-by: Austin Vazquez <austin.vazquez@docker.com> (cherry picked from commitfb2f8115c8) Signed-off-by: Austin Vazquez <austin.vazquez@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
423a7fd6af
commit
deb4bbbfe0
@@ -636,6 +636,9 @@ definitions:
|
||||
by the default (runc) runtime.
|
||||
|
||||
This field is omitted when empty.
|
||||
|
||||
**Deprecated**: This field is deprecated as kernel 6.12 has deprecated `memory.kmem.tcp.limit_in_bytes` field
|
||||
for cgroups v1. This field will be removed in a future release.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
MemoryReservation:
|
||||
@@ -6351,6 +6354,8 @@ definitions:
|
||||
|
||||
Kernel memory TCP limits are not supported when using cgroups v2, which
|
||||
does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup.
|
||||
|
||||
**Deprecated**: This field is deprecated as kernel 6.12 has deprecated kernel memory TCP accounting.
|
||||
type: "boolean"
|
||||
example: true
|
||||
CpuCfsPeriod:
|
||||
|
||||
@@ -636,6 +636,9 @@ definitions:
|
||||
by the default (runc) runtime.
|
||||
|
||||
This field is omitted when empty.
|
||||
|
||||
**Deprecated**: This field is deprecated as kernel 6.12 has deprecated `memory.kmem.tcp.limit_in_bytes` field
|
||||
for cgroups v1. This field will be removed in a future release.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
MemoryReservation:
|
||||
@@ -6350,6 +6353,8 @@ definitions:
|
||||
|
||||
Kernel memory TCP limits are not supported when using cgroups v2, which
|
||||
does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup.
|
||||
|
||||
**Deprecated**: This field is deprecated as kernel 6.12 has deprecated kernel memory TCP accounting.
|
||||
type: "boolean"
|
||||
example: true
|
||||
CpuCfsPeriod:
|
||||
|
||||
@@ -22,6 +22,11 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||
This field was previously always -1.
|
||||
* Deprecated: The field `NetworkSettings.Bridge` returned by `GET /containers/{id}/json`
|
||||
is deprecated and will be removed in the next API version.
|
||||
* Deprecated: The field `KernelMemoryTCP` as part of `POST /containers/{id}/update`
|
||||
and returned by `GET /containers/{id}/json` is deprecated and will be removed
|
||||
in the next API version.
|
||||
* Deprecated: The field `KernelMemoryTCP` as part of `GET /info` is deprecated
|
||||
and will be removed in the next API version.
|
||||
|
||||
## v1.50 API changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user