-
Notifications
You must be signed in to change notification settings - Fork 222
/
linkerd-config.yml
46 lines (41 loc) · 1.05 KB
/
linkerd-config.yml
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
38
39
40
41
42
43
44
45
46
# linkerd config for linker-to-linker mode
# routes from port 4140 on source node to 4141 on destination node
admin:
ip: 0.0.0.0
port: 9990
telemetry:
- kind: io.l5d.prometheus
usage:
orgId: linkerd-examples-dcos-linker-linker
namers:
- kind: io.l5d.marathon
host: marathon.mesos
port: 8080
routers:
- protocol: http
servers:
- port: 4140
ip: 0.0.0.0
dtab: >- # route based on marathon name
/marathonId => /#/io.l5d.marathon;
/svc => /$/io.buoyant.http.domainToPathPfx/marathonId;
label: outgoing
interpreter:
kind: default
transformers:
# tranform all outgoing requests to deliver to incoming linkerd port 4141
- kind: io.l5d.port
port: 4141
- protocol: http
servers:
- port: 4141
ip: 0.0.0.0
dtab: >- # route based on marathon name
/marathonId => /#/io.l5d.marathon;
/svc => /$/io.buoyant.http.domainToPathPfx/marathonId;
label: incoming
interpreter:
kind: default
transformers:
# filter instances to only include those on this host
- kind: io.l5d.localhost