linkerd2/controller/cmd
Alex Leong 368b63866d
Add support for remote discovery (#11224)
Adds support for remote discovery to the destination controller.

When the destination controller gets a `Get` request for a Service with the `multicluster.linkerd.io/remote-discovery` label, this is an indication that the destination controller should discover the endpoints for this service from a remote cluster.  The destination controller will look for a remote cluster which has been linked to it (using the `linkerd multicluster link` command) with that name.  It will look at the `multicluster.linkerd.io/remote-discovery` label for the service name to look up in that cluster.  It then streams back the endpoint data for that remote service.

Since we now have multiple client-go informers for the same resource types (one for the local cluster and one for each linked remote cluster) we add a `cluster` label onto the prometheus metrics for the informers and EndpointWatchers to ensure that each of these components' metrics are correctly tracked and don't overwrite each other.

---------

Signed-off-by: Alex Leong <alex@buoyant.io>
2023-08-11 09:31:45 -07:00
..
destination Add support for remote discovery (#11224) 2023-08-11 09:31:45 -07:00
heartbeat heartbeat: Include the CPU architecture in reports (#9589) 2022-10-10 12:31:05 -07:00
identity Readiness checks fail until caches are synced (#10166) 2023-01-25 11:43:09 -08:00
proxy-injector allow pprof to be configurable via helm flags (#8090) 2022-03-22 14:31:04 -06:00
sp-validator allow pprof to be configurable via helm flags (#8090) 2022-03-22 14:31:04 -06:00
main.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00