Files
kubeshark/cli
Selton Fiuza dea223bfe1 Feature/tra 3349 validation rules merged with develop (#148)
* Implemented validation rules, based on: https://up9.atlassian.net/browse/TRA-3349

* Color on Entry based on rules

* Background red/green based on rules

* Change flag --validation-rules to --test-rules

* rules tab UI updated

* rules tab font and background-color is changed for objects

* Merged with develop

* Fixed compilation issues.

* Renamed fullEntry -> harEntry where appropriate.

* Change green/red logic

* Update models.go

* Fix latency bug and alignment

* Merge Conflicts fix

* Working after merge

* Working on Nimrod comments

* Resolving conflicts

* Resolving conflicts

* Resolving conflicts

* Nimrod Comments pt.3

* Log Error on configmap creation if the user doesn't have permission.

* Checking configmap permission to ignore --test-rules

* Revert time for mizu to get ready

* Nimrod comments pt 4 && merge develop pt3

* Nimrod comments pt 4 && merge develop pt3

* Const rulePolicyPath and filename

Co-authored-by: Neim <elezin9@gmail.com>
Co-authored-by: nimrod-up9 <nimrod@up9.com>
2021-08-04 09:21:36 -03:00
..
2021-08-03 17:23:52 +03:00
2021-08-03 14:35:02 +03:00
2021-05-06 18:30:01 +03:00

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

  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