linkerd2/test/integration
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
..
edges Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
egress Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
endpoints Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
externalissuer Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
inject Use linkerd-jaeger extension for control plane tracing (#5299) 2020-12-08 14:34:26 -08:00
multicluster Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
routes Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
serviceaccounts Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
serviceprofiles Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
smimetrics Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
stat Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
tap Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
testdata Warn when webhook certificates near expiry (#5155) 2020-10-30 11:48:51 -07:00
tracing Use linkerd-jaeger extension for control plane tracing (#5299) 2020-12-08 14:34:26 -08:00
trafficsplit Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
uninstall Remove logs comparisons in integration tests (#5223) 2020-11-13 16:00:16 -05:00
install_test.go Consolidate integration tests under k3d (#5245) 2020-11-18 14:33:16 -05:00