-
Notifications
You must be signed in to change notification settings - Fork 221
/
Copy pathlinkerd-dcos.json
37 lines (37 loc) · 1.26 KB
/
linkerd-dcos.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"id": "linkerd",
"instances": 4,
"cpus": 0.25,
"mem": 256.0,
"acceptedResourceRoles": ["*", "slave_public"],
"constraints": [["hostname", "UNIQUE"]],
"container": {
"type": "DOCKER",
"docker": {
"image": "buoyantio/linkerd:1.4.6",
"network": "HOST",
"privileged": true
}
},
"healthChecks": [
{
"protocol": "HTTP",
"portIndex": 0,
"path": "/admin/ping"
}
],
"portDefinitions": [
{
"port": 9990,
"protocol": "tcp",
"name": "admin"
},
{
"port": 4140,
"protocol": "tcp",
"name": "proxy"
}
],
"requirePorts": true,
"cmd": "echo \"{\\\"admin\\\":{\\\"ip\\\":\\\"0.0.0.0\\\",\\\"port\\\":9990},\\\"telemetry\\\":[{\\\"kind\\\":\\\"io.l5d.prometheus\\\"}],\\\"usage\\\":{\\\"orgId\\\":\\\"linkerd-examples-dcos-simple-proxy\\\"},\\\"namers\\\":[{\\\"kind\\\":\\\"io.l5d.marathon\\\",\\\"host\\\":\\\"marathon.mesos\\\",\\\"port\\\":8080}],\\\"routers\\\":[{\\\"protocol\\\":\\\"http\\\",\\\"servers\\\":[{\\\"port\\\":4140,\\\"ip\\\":\\\"0.0.0.0\\\"}],\\\"dtab\\\":\\\"/marathonId=>/#/io.l5d.marathon;/svc=>/$/io.buoyant.http.domainToPathPfx/marathonId;\\\",\\\"label\\\":\\\"linkerd_proxy\\\"}]}\" | /io.buoyant/linkerd/1.4.6/bundle-exec -log.level=DEBUG -- -"
}