mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Update CRI with memory_swap_limit_in_bytes
This commit is contained in:
parent
bda03b4818
commit
7d50271d21
@ -583,6 +583,8 @@ message LinuxContainerResources {
|
||||
// Each key/value in the map refers to the cgroup v2.
|
||||
// e.g. "memory.max": "6937202688" or "io.weight": "default 100".
|
||||
map<string, string> unified = 9;
|
||||
// Memory swap limit in bytes. Default 0 (not specified).
|
||||
int64 memory_swap_limit_in_bytes = 10;
|
||||
}
|
||||
|
||||
// HugepageLimit corresponds to the file`hugetlb.<hugepagesize>.limit_in_byte` in container level cgroup.
|
||||
|
@ -589,6 +589,8 @@ message LinuxContainerResources {
|
||||
// Each key/value in the map refers to the cgroup v2.
|
||||
// e.g. "memory.max": "6937202688" or "io.weight": "default 100".
|
||||
map<string, string> unified = 9;
|
||||
// Memory swap limit in bytes. Default 0 (not specified).
|
||||
int64 memory_swap_limit_in_bytes = 10;
|
||||
}
|
||||
|
||||
// HugepageLimit corresponds to the file`hugetlb.<hugepagesize>.limit_in_byte` in container level cgroup.
|
||||
|
Loading…
Reference in New Issue
Block a user