linkerd2/controller
Eliza Weisman b8434d60d4
Add resource metadata to Tap CLI output (#1437)
Closes #1170.

This branch adds a `-o wide` (or `--output wide`) flag to the Tap CLI.
Passing this flag adds `src_res` and `dst_res` elements to the Tap
output, as described in #1170. These use the metadata labels in the tap
event to describe what Kubernetes resource the source and destination
peers belong to, based on what resource type is being tapped, and fall
back to pods if either peer is not a member of the specified resource
type.

In addition, when the resource type is not `namespace`, `src_ns` and
`dst_ns` elements are added, which show what namespaces the the source
and destination peers are in. For peers which are not in the Kubernetes
cluster, none of these labels are displayed.

The source metadata added in #1434 is used to populate the `src_res` and
`src_ns` fields.

Also, this branch includes some refactoring to how tap output is
formatted.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2018-08-20 14:25:26 -07:00
..
api Add resource metadata to Tap CLI output (#1437) 2018-08-20 14:25:26 -07:00
ca Update prometheus to only scrape proxies in the same mesh (#1402) 2018-08-06 12:05:55 -07:00
cmd Add source metadata to Tap server tap events (#1434) 2018-08-13 13:25:14 -07:00
destination Fix Destination returning no endpoints for single unnamed container port (#1420) 2018-08-08 13:01:53 -07:00
gen Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
k8s Update prometheus labels to match k8s resource names (#1355) 2018-07-23 15:45:05 -07:00
script/destination-client add H2 protocol to destination addrs if managed by linkerd (#1380) 2018-08-03 10:14:30 -07:00
tap Add inbound destination label hydration to Tap server (#1442) 2018-08-13 13:46:33 -07:00
Dockerfile Upgrade to dep 0.5.0, go 1.10.3 (#1479) 2018-08-17 16:04:50 -07:00