我正试图在maratahon中部署bitbucket,但当我扩展应用程序时,它正在跳转并扩展到多个服务。我不知道你为什么能帮任何人处理。
marathonu bitbucket.json文件
{
"id": "/test/bitbucket",
"cmd": "sh /tmp/app/atlassian-bitbucket-4.8.3/start-bitbucket.sh",
"cpus": 0.1,
"mem": 512,
"disk": 1,
"instances": 0,
"container": null,
"constraints": [
[
"hostname",
"LIKE",
"(lltws0gbeot.sdi.corp.bankofamerica.com)"
]
],
"portDefinitions": [
{
"port": 0,
"protocol": "tcp",
"name": null,
"labels": null
}
],
"healthChecks": [
{
"gracePeriodSeconds": 60,
"intervalSeconds": 60,
"maxConsecutiveFailures": 3,
"delaySeconds": 15,
"protocol": "COMMAND",
"timeoutSeconds": 20,
"command": {
"value":"ps -ef | grep \"bitbucket\" | grep -v grep"
}
}
]
}
有谁能帮忙解决弹跳问题吗
1条答案
按热度按时间fquxozlt1#
您没有指定容器映像(null不是有效的映像名称)。你的意思是说这个?
容器:“atlassian/bitbucket-server:latest"