2016-05-31 21:23:23 +00:00
|
|
|
{
|
|
|
|
"id": "/foo",
|
|
|
|
"groups": [
|
|
|
|
{
|
|
|
|
"id": "/foo/bar",
|
|
|
|
"apps": [
|
|
|
|
{
|
|
|
|
"id": "whoami",
|
|
|
|
"cpus": 0.1,
|
|
|
|
"mem": 64.0,
|
|
|
|
"instances": 3,
|
|
|
|
"container": {
|
|
|
|
"type": "DOCKER",
|
|
|
|
"docker": {
|
2019-01-18 14:18:04 +00:00
|
|
|
"image": "containous/whoami",
|
2016-05-31 21:23:23 +00:00
|
|
|
"network": "BRIDGE",
|
|
|
|
"portMappings": [
|
|
|
|
{
|
|
|
|
"containerPort": 80,
|
|
|
|
"hostPort": 0,
|
|
|
|
"protocol": "tcp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"healthChecks": [
|
|
|
|
{
|
|
|
|
"protocol": "HTTP",
|
|
|
|
"portIndex": 0,
|
|
|
|
"path": "/",
|
|
|
|
"gracePeriodSeconds": 5,
|
|
|
|
"intervalSeconds": 20,
|
|
|
|
"maxConsecutiveFailures": 3
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2017-09-07 10:02:03 +00:00
|
|
|
}
|