美文网首页
Atlas 500安装服务软件接口调用总结。

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

作者: 不合格码农 | 来源:发表于2020-10-26 19:29 被阅读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

}

相关文章

网友评论

      本文标题:Atlas 500安装服务软件接口调用总结。

      本文链接:https://www.haomeiwen.com/subject/mfrzmktx.html