linkerd2/charts/partials/templates
Alex Leong cdc57d1af0
Use linkerd-jaeger extension for control plane tracing (#5299)
Now that tracing has been split out of the main control plane and into the linkerd-jaeger extension, we remove references to tracing from the main control plane including:

* removing the tracing components from the main control plane chart
* removing the tracing injection logic from the main proxy injector and inject CLI (these will be added back into the new injector in the linkerd-jaeger extension)
* removing tracing related checks (these will be added back into `linkerd jaeger check`)
* removing related tests

We also update the `--control-plane-tracing` flag to configure the control plane components to send traces to the linkerd-jaeger extension.  To make sure this works even when the linkerd-jaeger extension is installed in a non-default namespace, we also add a `--control-plane-tracing-namespace` flag which can be used to change the namespace that the control plane components send traces to.

Note that for now, only the control plane components send traces; the proxies in the control plane do not.  This is because the linkerd-jaeger injector is not yet available.  However, this change adds the appropriate namespace annotations to the control plane namespace to configure the proxies to send traces to the linkerd-jaeger extension once the linkerd-jaeger injector is available.

I tested this by doing the following:

1. bin/linkerd install | kubectl apply -f -
1. bin/helm install jaeger jaeger/charts/jaeger
1. bin/linkerd upgrade --control-plane-tracing=true | kubectl apply -f -
1. kubectl -n linkerd-jaeger port-forward svc/jaeger 16686
1. open http://localhost:16686
1. see traces from the linkerd control plane

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-12-08 14:34:26 -08:00
..
NOTES.txt
_addons.tpl Refactor linkerd-config-addons configmap (#4318) 2020-05-05 14:11:21 +05:30
_affinity.tpl Tracing Add-on For Linkerd (#3955) 2020-02-26 10:15:04 -08:00
_capabilities.tpl Move common values to global (#3839) 2020-01-06 14:31:41 -08:00
_debug.tpl Switch to Smaller-Case in Linkerd2 and Partials Charts (#3823) 2019-12-13 14:48:07 -05:00
_helpers.tpl Fix `splitStringListToPorts` port range object rendering (#4688) 2020-07-09 14:23:12 +03:00
_metadata.tpl Fix typos (#4858) 2020-08-11 22:13:45 -07:00
_nodeselector.tpl Tracing Add-on For Linkerd (#3955) 2020-02-26 10:15:04 -08:00
_proxy-init.tpl charts: Do not store .component in linkerd-config (#5144) 2020-11-02 20:41:37 +05:30
_proxy.tpl Use linkerd-jaeger extension for control plane tracing (#5299) 2020-12-08 14:34:26 -08:00
_pull-secrets.tpl Introduce support for authenticated docker registries using imagePullSecrets, Fixes #4413 (#4898) 2020-09-23 08:49:35 -05:00
_resources.tpl Switch to Smaller-Case in Linkerd2 and Partials Charts (#3823) 2019-12-13 14:48:07 -05:00
_tolerations.tpl Added custom tolerations to helm chart (#4626) 2020-07-07 17:37:02 -05:00
_trace.tpl Use linkerd-jaeger extension for control plane tracing (#5299) 2020-12-08 14:34:26 -08:00
_validate.tpl Tracing Add-on For Linkerd (#3955) 2020-02-26 10:15:04 -08:00
_volumes.tpl Use linkerd-jaeger extension for control plane tracing (#5299) 2020-12-08 14:34:26 -08:00