mirror of https://github.com/linkerd/linkerd2.git
Users may have an existing Jaeger deployment and want to send traces to it from Linkerd. We add the `collector.jaegerAddr` value to the Linkerd-Jaeger chart which configures the address of the jaeger backend which the opencensus collector sends to. If left unspecified, the collector will use the jaeger instance in the linkerd-jaeger extension. To test: Install Jaeger backend separately: ``` curl https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/examples/simplest.yaml | docker run -i --rm jaegertracing/jaeger-operator:master generate | kubectl apply -n jaeger-test -f - ``` Install Linkerd and Linkerd-jaeger, specifying the existing jaeger backend ``` linkerd install | kubectl apply -f - linkerd jaeger install --set collector.jaegerAddr='http://my-jaeger-collector.jaeger-test:14268/api/traces' | kubectl apply -f - ``` Install emojivoto and configure it: ``` linkerd inject https://run.linkerd.io/emojivoto.yml | kubectl apply -f - kubectl -n emojivoto set env --all deploy OC_AGENT_HOST=collector.linkerd-jaeger:55678 ``` View traces in your custom jaeger backend: ``` kubectl -n jaeger-test port-forward svc/my-jaeger-query 16686 & open http://localhost:16686 ``` Signed-off-by: Alex Leong <alex@buoyant.io> |
||
---|---|---|
.. | ||
charts/jaeger | ||
cmd | ||
injector | ||
static |