Skip to content

Instantly share code, notes, and snippets.

@tianweidut
Last active September 15, 2017 11:16
Show Gist options
  • Save tianweidut/a6cd3f2287d005ba13d1a223534cea7b to your computer and use it in GitHub Desktop.
Save tianweidut/a6cd3f2287d005ba13d1a223534cea7b to your computer and use it in GitHub Desktop.
linkerd 1.12 config example
admin:
port: 4400
namers:
- kind: io.l5d.serversets
zkAddrs:
- host: zk1
port: 2181
- host: zk2
port: 2181
- host: zk3
port: 2181
- host: zk4
port: 2181
- host: zk5
port: 2181
routers:
- protocol: thrift
label: /thrift_client_proxy
dstPrefix: /thrift
thriftMethodInDst: true
thriftProtocol: binary
bindingTimeoutMs: 3000
service:
retries:
budget:
minRetriesPerSec: 40
percentCanRetry: 10.0
ttlSecs: 10
backoff:
kind: jittered
minMs: 10
maxMs: 240
client:
failFast: false
requestAttemptTimeoutMs: 60000
attemptTTwitterUpgrade: true
thriftFramed: true
loadBalancer:
kind: ewma
enableProbation: true
maxEffort: 5
decayTimeMs: 10000
hostConnectionPool:
minSize: 0
maxSize: 800
idleTimeMs: 10000
servers:
- port: 4403
ip: 0.0.0.0
thriftFramed: true
timeoutMs: 60000
dtab: |
/thrift => /#/io.l5d.serversets/services/thrift_client;
telemetry:
- kind: io.l5d.zipkin
host: 172.17.42.1
port: 1463
sampleRate: 0.001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment