mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-07-06 23:22:07 +00:00
* Tap outgoing: If --anydirection flag is passed with HOST_MODE, tap by source IP. * Moved ConnectionInfo from http_matcher to http_reader. * Generalized shouldTap in stream factory to get more properties. * tap reports IsOutgoing property of tcp connection. * gofmt. * CLI instructs tapper to tap outgoing connections. * API saves IsOutgoing to DB and passes it to UI. * Add a visual marker in the HAR list for outgoing messages. * Fixed: Swapped src and dst. * Resolver keeps a list of all ClusterIP services. * Do not save HARs with destination ClusterIP services. * CLI accepts flag that controls traffic direction. * Indicate incoming/outgoing with icon instead of with border color. * Fixed: Didn't filter messages to services in aggregator. * Clearer syntax around the direction icon. Added title text. * Fixed width around direction icon. * Less repetition. * Removed TODO. * Renamed incoming -> ingoing. * More verbose title text to image. * Switched routine order for readability.
mizu CLI
Usage
./mizu {pod_name_regex}
Optional Flags
| flag | default | purpose |
|---|---|---|
--no-gui |
false |
Don't host the web interface (not applicable at the moment) |
--gui-port |
8899 |
local port that web interface will be forwarded to |
--namespace |
use namespace different than the one found in kubeconfig | |
--kubeconfig |
Path to custom kubeconfig file |
There are some extra flags defined in code that will show up in ./mizu --help, these are non functional stubs for now
Installation
Make sure your go version is at least 1.11
- cd to
mizu/cli - Run
go mod download(may take a moment) - Run
go build mizu.go
Alternatively, you can build+run directly using go run mizu.go {pod_name_regex}
Known issues
- mid-flight port forwarding failures are not detected and no indication will be shown when this occurs