mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
quota: add device block to the quota init command (#23881)
This commit is contained in:
committed by
GitHub
parent
82f0f00a83
commit
2d7dcba4b7
@@ -123,6 +123,10 @@ limit {
|
||||
cpu = 2500
|
||||
memory = 1000
|
||||
memory_max = 1000
|
||||
device {
|
||||
name = "nvidia/gpu/1080ti",
|
||||
count = 1,
|
||||
}
|
||||
}
|
||||
variables_limit = 1000
|
||||
}
|
||||
@@ -140,6 +144,10 @@ var defaultJsonQuotaSpec = strings.TrimSpace(`
|
||||
"CPU": 2500,
|
||||
"MemoryMB": 1000,
|
||||
"MemoryMaxMB": 1000
|
||||
"Device": {
|
||||
"Name": "nvidia/gpu/1080ti",
|
||||
"Count": 1
|
||||
},
|
||||
},
|
||||
"VariablesLimit": 1000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user