Atlas 500安装服务软件接口调用总结。

2020-10-26  本文已影响0人  不合格码农

1.保证/tmp/web下有服务软件

2.将以下内容考入body即可

{

"ServiceName": "test",

"ServiceDescription": "",

"Version": "1.0.0",

"ImageFile": "cdmatrix.tar",

"AttachFile": "",

"AttachFileMountPath": "",

"ResourceQuota": {

"CpuQuota": "0Core",

"MemQuota": "MiB",

"StorageQuota": "G",

"AiQuota": ""

},

"Environments": [

{

"Key": "",

"Value": ""

}

],

"Volumes": [

{

"Name": "",

"MountPath": "",

"TotalSize": "",

"Method": ""

}

],

"Options": {

"Priviledge": "true",

"RebootPolicy": "on-failure",

"UseHostNetwork": "true",

"PortMap": [

{

"DockerPort": "",

"HostPort": ""

}

]

},

"IsHwImage":false,

"IsValid":false

}

上一篇 下一篇

猜你喜欢

热点阅读