mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-08 10:17:49 +00:00
* Provide cli version as git hash from makefile * Update Makefile, version.go, and 3 more files... * Update mizuRunner.go * Update README.md, resolver.go, and 2 more files... * Update provider.go * Feature/UI/light theme (#44) * light theme * css polish * unused code * css * text shadow * footer style * Update mizuRunner.go * Handle nullable vars (#47) * Decode gRPC body (#48) * Decode grpc. * Better variable names. * Added protobuf-decoder dependency. * Updated protobuf-decoder's version. Co-authored-by: RamiBerm <rami.berman@up9.com> Co-authored-by: RamiBerm <54766858+RamiBerm@users.noreply.github.com> Co-authored-by: lirazyehezkel <61656597+lirazyehezkel@users.noreply.github.com> Co-authored-by: nimrod-up9 <59927337+nimrod-up9@users.noreply.github.com>
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