linkerd2/controller
Alex Leong 9cd4557644
Properly show the meshed count for non-selector services (#4446)
When viewing the output of `linkerd stat` for services which do not have a selector (such as services created by the service-mirror, for example) the meshed count column shows the total number which exist, even though the service actually selects no pods at all.

We update the StatSummary implementation to account for services which have no selector.

Additionally, we update the logic of the `--unmeshed` flag.  When the `--unmeshed` flag is not set, we typically skip rows for unmeshed resources because those resources would have no stats.  This is not appropriate to do when the `--from` flag is also set because in this case, metrics are not collected on the target resource but are instead collected on the client-side.  This means that stats can be present, even for unmeshed resources and these resources should still be displayed, even if the `--unmeshed` flag is not set.

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-05-20 10:08:27 -07:00
..
api Threadsafe buffering listener (#4359) 2020-05-14 20:45:41 +03:00
cmd Enable service mirroring to work in private networks (#4440) 2020-05-20 19:48:36 +03:00
gen Add gateways command, allowing the retrieval of gateway stats (#4241) 2020-04-27 13:55:01 +03:00
heartbeat Upgrade prometheus to v1.2.1 (#3541) 2019-12-11 15:26:16 -08:00
identity Cert manager support (#3600) 2019-10-24 13:15:14 -07:00
k8s Properly show the meshed count for non-selector services (#4446) 2020-05-20 10:08:27 -07:00
proxy-injector Inject LINKERD2_PROXY_DESTINATION_GET_NETWORKS proxy variable (#4300) 2020-04-30 11:22:24 -07:00
script/destination-client Remove Discovery service leftovers (#3500) 2019-10-15 11:20:21 -05:00
sp-validator Have the proxy-injector emit events upon injection/skipping injection (#3316) 2019-08-26 13:34:36 -05:00
tap Make gateway require TLS for incoming requests (#4339) 2020-05-11 10:07:48 +03:00
webhook Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00
Dockerfile Upgrade to go 1.14.2 (#4278) 2020-04-20 17:14:51 -07:00