Skip to content

Instantly share code, notes, and snippets.

@rohitrsh
Created October 30, 2017 09:46
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 rohitrsh/9f822607551b5bfe755d7cc6b9ad507b to your computer and use it in GitHub Desktop.
Save rohitrsh/9f822607551b5bfe755d7cc6b9ad507b to your computer and use it in GitHub Desktop.
linkerd.yml
admin:
port: 9991
ip: 0.0.0.0
namers:
- kind: io.l5d.fs
rootDir: /opt/linkerd/disco/
routers:
- protocol: http
label: linkerd-in
dstPrefix: /http
identifier:
kind: io.l5d.methodAndHost
httpUriInDst: true
dtab: |
/http/* => /#/io.l5d.fs/jclocal;
httpAccessLog: /opt/linkerd/logs/access.log
servers:
- port: 5051
ip: 0.0.0.0
maxConcurrentRequests: 2000
service:
responseClassifier:
kind: io.l5d.http.retryableRead5XX
client:
loadBalancer:
kind: ewma
failureAccrual:
kind: io.l5d.successRate
successRate: 0.9
requests: 1000
backoff:
kind: jittered
minMs: 5000
maxMs: 300000
- protocol: http
label: linkerd-out
interpreter:
kind: io.l5d.namerd
dst: /$/inet/namerd.service.myapp.internal/5100
namespace: dev
identifier:
kind: io.l5d.methodAndHost
httpUriInDst: true
dstPrefix: /http
servers:
- port: 5052
ip: 0.0.0.0
maxConcurrentRequests: 2000
bindingCache:
paths: 100
trees: 100
bounds: 1000
clients: 1000
idleTtlSecs: 3600
service:
responseClassifier:
kind: io.l5d.http.retryableRead5XX
client:
hostConnectionPool:
minSize: 20
maxSize: 1000
idleTimeMs: 10000
maxWaiters: 5000
loadBalancer:
kind: ewma
failureAccrual:
kind: io.l5d.successRate
successRate: 0.9
requests: 1000
backoff:
kind: jittered
minMs: 5000
maxMs: 300000
telemetry:
- kind: io.l5d.prometheus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment