mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-28 13:25:13 +00:00
Update the dev.sh
parent
857657b6e0
commit
be04ddb61b
@ -174,8 +174,6 @@ This method involves doing everything on your local machine without requiring an
|
||||
Save this script to a file named `dev.sh`:
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf entries/ && mkdir -p entries && rm -rf pprof/* && make clean && make agent
|
||||
sudo setcap cap_net_raw,cap_net_admin=eip ./agent/build/mizuagent
|
||||
./agent/build/mizuagent --api-server & \
|
||||
@ -185,8 +183,7 @@ GOGC=12800 NODE_NAME=dev TAPPED_ADDRESSES_PER_HOST='{"dev": ["localhost"]}' \
|
||||
./agent/build/mizuagent \
|
||||
-i any \
|
||||
--tap \
|
||||
--api-server-address ws://localhost:8899/wsTapper \
|
||||
--nodefrag & \
|
||||
--api-server-address ws://localhost:8899/wsTapper & \
|
||||
PID2=$! && \
|
||||
read -r -d '' _ </dev/tty
|
||||
kill -9 $PID1 && \
|
||||
|
Loading…
Reference in New Issue
Block a user