linkerd2/controller/api/public
Alex Leong d540e16c8b
Make service mirror controller per target cluster (#4710)
This PR removes the service mirror controller from `linkerd mc install` to `linkerd mc link`, as described in https://github.com/linkerd/rfc/pull/31.  For fuller context, please see that RFC.

Basic multicluster functionality works here including:
* `linkerd mc install` installs the Link CRD but not any service mirror controllers
* `linkerd mc link` creates a Link resource and installs a service mirror controller which uses that Link
* The service mirror controller creates and manages mirror services, a gateway mirror, and their endpoints.
* The `linkerd mc gateways` command lists all linked target clusters, their liveliness, and probe latences.
* The `linkerd check` multicluster checks have been updated for the new architecture.  Several checks have been rendered obsolete by the new architecture and have been removed.

The following are known issues requiring further work:
* the service mirror controller uses the existing `mirror.linkerd.io/gateway-name` and `mirror.linkerd.io/gateway-ns` annotations to select which services to mirror.  it does not yet support configuring a label selector.
* an unlink command is needed for removing multicluster links: see https://github.com/linkerd/linkerd2/issues/4707
* an mc uninstall command is needed for uninstalling the multicluster addon: see https://github.com/linkerd/linkerd2/issues/4708

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-07-23 14:32:50 -07:00
..
testdata Fix issue for debug containers when using custom Docker registry (#3873) 2020-01-17 10:18:03 -08:00
client.go Add gateways command, allowing the retrieval of gateway stats (#4241) 2020-04-27 13:55:01 +03:00
client_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
edges.go Add unit test for edges API endpoint (#3306) 2019-08-23 09:28:02 -07:00
edges_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
gateways.go Make service mirror controller per target cluster (#4710) 2020-07-23 14:32:50 -07:00
grpc_server.go Remove/Relax prometheus related checks (#4724) 2020-07-20 14:24:00 -07:00
grpc_server_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
http_server.go Remove/Relax prometheus related checks (#4724) 2020-07-20 14:24:00 -07:00
http_server_test.go Add gateways command, allowing the retrieval of gateway stats (#4241) 2020-04-27 13:55:01 +03:00
prometheus.go Remove/Relax prometheus related checks (#4724) 2020-07-20 14:24:00 -07:00
stat_summary.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00
stat_summary_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
stream_client.go Introduce tap APIService, update `linkerd tap` (#3167) 2019-08-01 14:02:45 -07:00
test_helper.go Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
top_routes.go Add kubectl-style label selectors (#4120) 2020-03-20 10:45:06 -05:00
top_routes_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00