Skip to content

Instantly share code, notes, and snippets.

@ewilde
Created February 22, 2017 19:30
Show Gist options
  • Save ewilde/3dd551d622363a8ef61032a8b4107b67 to your computer and use it in GitHub Desktop.
Save ewilde/3dd551d622363a8ef61032a8b4107b67 to your computer and use it in GitHub Desktop.
linkerd configuration
# Do service discovery lookups against the Consul service catalog.
namers:
- kind: io.l5d.consul
includeTag: false
useHealthCheck: false
- kind: io.l5d.fs
rootDir: /opt/linkerd-0.8.6/disco/
routers:
- protocol: http
label: /host/http-consul
dtab: |
/svc => /#/io.l5d.consul/dc1;
identifier:
kind: io.l5d.header.token
servers:
- port: 4140
ip: 0.0.0.0
- protocol: http
label: /host/http-fs
dtab: |
/svc => /#/io.l5d.fs;
identifier:
kind: io.l5d.header.token
servers:
- port: 4141
ip: 0.0.0.0
telemetry:
- kind: io.l5d.tracelog
sampleRate: 0.2
level: TRACE
- kind: io.l5d.recentRequests
sampleRate: 1.0 ⏎
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment