The API traffic analyzer for Kubernetes providing real-time K8s protocol-level visibility, capturing and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. Inspired by Wireshark, purposely built for Kubernetes
Go to file
Alex Haiut 5d205b5082
added apple/m1 binary, updated readme (#77)
Co-authored-by: Alex Haiut <alex@up9.com>
2021-06-21 13:06:08 +03:00
.github/workflows added apple/m1 binary, updated readme (#77) 2021-06-21 13:06:08 +03:00
api Filter 'cookie' header 2021-06-20 17:41:36 +03:00
cli added apple/m1 binary, updated readme (#77) 2021-06-21 13:06:08 +03:00
shared Update serializableRegexp.go 2021-06-01 14:41:42 +03:00
tap TRA-3342 Mizu/tap dump to har directory fails on Linux (#71) 2021-06-15 15:51:09 +03:00
ui Show pod name and namespace (#61) 2021-05-27 13:48:37 +03:00
.dockerignore no message 2021-04-28 17:54:32 +03:00
.gitignore Infinite scroll (#28) 2021-05-04 18:23:58 +03:00
build-push-featurebranch.sh Build push image to the right place and adjust makefile to use script (#35) 2021-05-09 12:05:05 +03:00
debug.Dockerfile WIP 2021-05-24 10:22:20 +03:00
Dockerfile TRA-3212 Passive-Tapper and Mizu share code (#70) 2021-06-14 13:22:44 +03:00
LICENSE Initial commit 2021-04-19 13:29:56 +03:00
Makefile More complex message (preparation for knowing status of tapped items in UI) (#49) 2021-05-23 13:11:59 +03:00
README.md added apple/m1 binary, updated readme (#77) 2021-06-21 13:06:08 +03:00

水 mizu

standalone web app traffic viewer for Kubernetes

Download

Download mizu for your platform and operating system

Latest stable release

  • for MacOS - Intel curl -Lo mizu https://github.com/up9inc/mizu/releases/latest/download/mizu_darwin_amd64 && chmod 755 mizu

  • for MacOS - Apple Silicon curl -Lo mizu https://github.com/up9inc/mizu/releases/latest/download/mizu_darwin_arm64 && chmod 755 mizu

  • for Linux - Intel 64bit curl -Lo mizu https://github.com/up9inc/mizu/releases/latest/download/mizu_linux_amd64 && chmod 755 mizu

SHA256 checksums are available on the Releases page.

Development (unstable) build

Pick one from the Releases page.

How to run

  1. Find pod you'd like to tap to in your Kubernetes cluster
  2. Run mizu PODNAME or mizu REGEX
  3. Open browser on http://localhost:8899 as instructed ..
  4. Watch the WebAPI traffic flowing ..
  5. Type ^C to stop

Examples

Run mizu help for usage options

To tap specific pod -

 $ kubectl get pods 
 NAME                            READY   STATUS    RESTARTS   AGE
 front-end-649fc5fd6-kqbtn       2/2     Running   0          7m
 ..

 $ mizu tap front-end-649fc5fd6-kqbtn
 +front-end-649fc5fd6-kqbtn
 Web interface is now available at http://localhost:8899
 ^C

To tap multiple pods using regex -

 $ kubectl get pods 
 NAME                            READY   STATUS    RESTARTS   AGE
 carts-66c77f5fbb-fq65r          2/2     Running   0          20m
 catalogue-5f4cb7cf5-7zrmn       2/2     Running   0          20m
 front-end-649fc5fd6-kqbtn       2/2     Running   0          20m
 ..

 $ mizu tap "^ca.*"
 +carts-66c77f5fbb-fq65r
 +catalogue-5f4cb7cf5-7zrmn
 Web interface is now available at http://localhost:8899
 ^C