Files
kubeshark/cli
nimrod-up9 6ceaa56474 CLI cleanup (#33)
* Moved cli root command to tap subcommand.

* tap subcommand works.

* Added view and fetch placeholders.

* Updated descriptions.

* Fixed indentation.

* Added versio subcommand.

* Removed version flag.

* gofmt.

* Changed pod from flag to arg.

* Commented out "all namespaces" flag.
2021-05-06 17:43:22 +03:00
..
2021-05-06 17:43:22 +03:00
2021-05-06 17:43:22 +03:00
2021-05-06 17:43:22 +03:00
2021-05-06 17:43:22 +03:00
2021-04-22 10:02:01 +03:00
2021-04-22 10:16:27 +03:00
2021-04-29 10:16:57 +03:00

mizu CLI

Usage

./mizu {pod_name_regex}

Optional Flags

flag default purpose
--no-dashboard false Don't host the dashboard (not applicable at the moment)
--dashboard-port 8899 local port that dashboard 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

  1. cd to mizu/cli
  2. Run go mod download (may take a moment)
  3. 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