We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab29785 + cabeea7 commit 6331715Copy full SHA for 6331715
specs-go/config.go
@@ -375,6 +375,12 @@ type LinuxMemory struct {
375
// Total memory limit (memory + swap).
376
Swap *int64 `json:"swap,omitempty"`
377
// Kernel memory limit (in bytes).
378
+ //
379
+ // Deprecated: kernel-memory limits are not supported in cgroups v2, and
380
+ // were obsoleted in [kernel v5.4]. This field should no longer be used,
381
+ // as it may be ignored by runtimes.
382
383
+ // [kernel v5.4]: https://github.com/torvalds/linux/commit/0158115f702b0ba208ab0
384
Kernel *int64 `json:"kernel,omitempty"`
385
// Kernel memory limit for tcp (in bytes)
386
KernelTCP *int64 `json:"kernelTCP,omitempty"`
0 commit comments