Skip to content

Instantly share code, notes, and snippets.

@tnolet
Created October 12, 2017 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnolet/6fc47165dd46b6d70d81e9fbe6758f29 to your computer and use it in GitHub Desktop.
Save tnolet/6fc47165dd46b6d70d81e9fbe6758f29 to your computer and use it in GitHub Desktop.
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