Closed danisla closed 2 years ago
Adds a wireshark container sidecar if the appParam: enableWireshark is "true"
enableWireshark
"true"
After enabling the appParam and launching a pod:
kubectl port-forward -n USER_NAMESPACE POD_NAME 3000:3000
localhost:3000
/tmp/capture.pcapng
kubectl -n USER_NAMESPACE cp -c wireshark POD_NAME:/tmp/capture.pcapng capture.pcapng
NOTE: if you exit wireshark, it will not be restarted automatically, you have to shutdown and launch the pod again.
Adds a wireshark container sidecar if the appParam:
enableWireshark
is"true"
Usage
After enabling the appParam and launching a pod:
localhost:3000
to see and use the wireshark UI./tmp/capture.pcapng