Slide 25
Slide 25 text
© 2016 Mesosphere, Inc. All Rights Reserved.
MARATHON
APP SPEC
25
{
"id": "/webserver",
"instances": 5,
"cpus": 0.1,
"mem": 128,
"container": {
"type": "DOCKER",
"docker": {
"image": "nginx:1.9.14",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 80,
"hostPort": 0
}
]
}
},
"upgradeStrategy": {
"minimumHealthCapacity": 0.9
},
"acceptedResourceRoles": [
"slave_public"
]
}