cmc-web/webs/cop-web/backup/mongodb.json

39 lines
1.1 KiB
JSON
Raw Normal View History

2024-08-20 12:11:31 +00:00
{
2024-08-21 01:17:14 +00:00
"deploy": {
"standalone": {
"icon": "mongodb",
"depend": "^task[.]resource[.]cvm[.][a-z]{1,20}$",
"limits": "1"
},
"cluster": {
"icon": "mongodb-cluster",
"topo": [
{
"role": "mongo_master",
"name": "主节点(1)",
"code": "task.software.mongodb",
"depend": "^task[.]resource[.]cvm[.][a-z]{1,20}$",
"limits": "^1$",
"limits_message": "主节点主机数量必须为1"
2024-08-20 12:11:31 +00:00
},
2024-08-21 01:17:14 +00:00
{
"role": "mongo_replicas",
"name": "从节点(2)",
"code": "task.software.mongodb",
"depend": "^task[.]resource[.]cvm[.][a-z]{1,20}$",
"limits": "^2$",
"limits_message": "主机数量必须为2"
},
{
"role": "mongo_arbiter",
"name": "仲裁节点(1)",
"code": "task.software.mongodb",
"depend": "^task[.]resource[.]cvm[.][a-z]{1,20}$",
"limits": "^1$",
"limits_message": "仲裁节点主机数量必须为1"
2024-08-20 12:11:31 +00:00
}
2024-08-21 01:17:14 +00:00
]
2024-08-20 12:11:31 +00:00
}
2024-08-21 01:17:14 +00:00
}
}