tap
Listen to a traffic stream for a resource.
Examples
# tap the web deployment in the default namespace
linkerd tap deploy/web
# tap the web-dlbvj pod in the default namespace
linkerd tap pod/web-dlbvj
# tap the test namespace, filter by request to prod namespace
linkerd tap ns/test --to ns/prod
Flags
Flag | Usage |
---|---|
--authority | Display requests with this :authority |
--max-rps | Maximum requests per second to tap. |
--method | Display requests with this HTTP method |
--namespace -n | Namespace of the specified resource |
--output -o | Output format. One of: “wide”, “json” |
--path | Display requests with paths that start with this prefix |
--scheme | Display requests with this scheme |
--to | Display requests to this resource |
--to-namespace | Sets the namespace used to lookup the “–to” resource; by default the current “–namespace” is used |