mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
raw_exec: oom_score_adj support (#23308)
This commit is contained in:
committed by
GitHub
parent
94bb91ab80
commit
85430be6dd
@@ -408,7 +408,12 @@ type LinuxResources struct {
|
||||
CPUQuota int64
|
||||
CPUShares int64
|
||||
MemoryLimitBytes int64
|
||||
OOMScoreAdj int64
|
||||
|
||||
// OOMScoreAdj field in LinuxResources is never used and left for
|
||||
// compatibility reasons. Docker, raw_exec and exec2 drivers allow tasks to
|
||||
// set per-task oom_score_adj values using their own TaskConfig OOMScoreAdj
|
||||
// fields
|
||||
OOMScoreAdj int64
|
||||
|
||||
CpusetCpus string
|
||||
CpusetCgroupPath string
|
||||
|
||||
Reference in New Issue
Block a user