mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-04-01 00:07:04 +00:00
* WIP * WIP * WIP * WIP * Update App.tsx and Header.tsx * Update createResources.go, provider.go, and 2 more files... * WIP * fix eof newlines * Fix ts imports, add readiness probe to kratos to prevent mizu being used while kratos isnt ready * cleaned code * fix install create namespace * Update package-lock.json * Update provider.go * Update provider.go * Update provider.go * Update install_controller.go * Update kratos.yml * Update start.sh * Update provider.go * Update provider.go * Update main.go, socket_routes.go, and 8 more files... * Update App.tsx * Update installRunner.go * Update App.tsx
mizu agent
Agent for MIZU (API server and tapper) Basic APIs:
- /stats - retrieve statistics of collected data
- /viewer - web ui
Remote Debugging
Setup remote debugging
- Run
go get github.com/go-delve/delve/cmd/dlv - Create a "Go Remote" run/debug configuration in Intellij, set to localhost:2345
- Build and push a debug image using
docker build . -t gcr.io/up9-docker-hub/mizu/debug:latest -f debug.Dockerfile && docker push gcr.io/up9-docker-hub/mizu/debug:latest
Connecting
- Start mizu using the cli with the debug
image
mizu tap --set agent-image=gcr.io/up9-docker-hub/mizu/debug:latest {tapped_pod_name} - Forward the debug port using
kubectl port-forward -n default mizu-api-server 2345:2345 - Run the run/debug configuration you've created earlier in Intellij.
Do note that dlv won't start the api until a debugger connects to it.