kubectl cp static-tcpdump helloworld-7fb98fb75b-rzjz6:/
kubectl exec -it helloworld-7fb98fb75b-rzjz6 sh
./static-tcpdump -i any -X tcp -s0 port 80 -w wlf1.cap &
./grpcurl -plaintext 127.0.0.1:80 list
./grpcurl -plaintext 127.0.0.1:80 list helloworld.Greeter
./grpcurl -plaintext 127.0.0.1:80 describe helloworld.Greeter
./grpcurl -plaintext 127.0.0.1:80 describe helloworld.HelloRequest
./grpcurl -plaintext 127.0.0.1:80 describe helloworld.HelloReply
./grpcurl -plaintext -d '{"name":"aaa"}' 127.0.0.1:80 helloworld.Greeter.SayHello
kubectl cp helloworld-7fb98fb75b-rzjz6:wlf1.cap ./wlf1.cap
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。