swagger: add DeviceRequests to container create, inspect example
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit d4d62b658d
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d7423180e7
commit
630185b4ae
1 changed files with 16 additions and 0 deletions
|
@ -5221,6 +5221,14 @@ paths:
|
|||
- {}
|
||||
BlkioDeviceWriteIOps:
|
||||
- {}
|
||||
DeviceRequests:
|
||||
- Driver: "nvidia"
|
||||
Count: -1
|
||||
DeviceIDs": ["0", "1", "GPU-fef8089b-4820-abfc-e83e-94318197576e"]
|
||||
Capabilities: [["gpu", "nvidia", "compute"]]
|
||||
Options:
|
||||
property1: "string"
|
||||
property2: "string"
|
||||
MemorySwappiness: 60
|
||||
OomKillDisable: false
|
||||
OomScoreAdj: 500
|
||||
|
@ -5474,6 +5482,14 @@ paths:
|
|||
CpuRealtimePeriod: 1000000
|
||||
CpuRealtimeRuntime: 10000
|
||||
Devices: []
|
||||
DeviceRequests:
|
||||
- Driver: "nvidia"
|
||||
Count: -1
|
||||
DeviceIDs": ["0", "1", "GPU-fef8089b-4820-abfc-e83e-94318197576e"]
|
||||
Capabilities: [["gpu", "nvidia", "compute"]]
|
||||
Options:
|
||||
property1: "string"
|
||||
property2: "string"
|
||||
IpcMode: ""
|
||||
LxcConf: []
|
||||
Memory: 0
|
||||
|
|
Loading…
Reference in a new issue