README.md 1.32 KiB

水 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

To tap specific pod -

 $ kubectl get pods | grep front-end
 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