File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,8 @@ The following parameters can be specified to setup the controller:
201201
202202* ** ` kernel ` ** * (uint64, optional)* - sets hard limit for kernel memory
203203
204+ * ** ` kernelTCP ` ** * (uint64, optional)* - sets hard limit for kernel memory in tcp using
205+
204206* ** ` swappiness ` ** * (uint64, optional)* - sets swappiness parameter of vmscan (See sysctl's vm.swappiness)
205207
206208###### Example
@@ -211,6 +213,7 @@ The following parameters can be specified to setup the controller:
211213 "reservation" : 0 ,
212214 "swap" : 0 ,
213215 "kernel" : 0 ,
216+ "kernelTCP" : 0 ,
214217 "swappiness" : -1
215218 }
216219```
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ type Memory struct {
158158 Swap uint64 `json:"swap"`
159159 // Kernel memory limit (in bytes)
160160 Kernel uint64 `json:"kernel"`
161+ // Kernel memory limit for tcp (in bytes)
162+ KernelTCP uint64 `json:"kernelTCP"`
161163 // How aggressive the kernel will swap memory pages. Range from 0 to 100. Set -1 to use system default
162164 Swappiness uint64 `json:"swappiness"`
163165}
You can’t perform that action at this time.
0 commit comments