Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vamp Gateway Agent Marathon JSON
{
"id": "/vamp/vamp-gateway-agent",
"cmd": null,
"cpus": 0.2,
"mem": 256,
"disk": 0,
"instances": 1,
"acceptedResourceRoles": [
"slave_public"
],
"container": {
"type": "DOCKER",
"volumes": [],
"docker": {
"image": "magneticio/vamp-gateway-agent:0.9.5",
"network": "HOST",
"portMappings": [],
"privileged": true,
"parameters": [],
"forcePullImage": true
}
},
"env": {
"VAMP_KEY_VALUE_STORE_TYPE": "zookeeper",
"VAMP_KEY_VALUE_STORE_CONNECTION": "zk-1.zk:2181",
"VAMP_KEY_VALUE_STORE_PATH": "/vamp/vamp/gateways/haproxy/1.7/configuration",
"VAMP_ELASTICSEARCH_URL": "http://elasticsearch.marathon.mesos:9200"
},
"healthChecks": [
{
"gracePeriodSeconds": 30,
"intervalSeconds": 10,
"timeoutSeconds": 5,
"maxConsecutiveFailures": 3,
"port": 1988,
"path": "/health",
"protocol": "HTTP",
"ignoreHttp1xx": false
}
],
"portDefinitions": [
{
"port": 10109,
"protocol": "tcp",
"name": "default",
"labels": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.