Gadget network-graph
The network-graph gadget monitors the network activity in the specified pods and records the list of TCP connections and UDP streams.
Example CR
apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
name: network-graph
namespace: gadget
spec:
node: albantyphoon-worker000003
gadget: network-graph
filter:
namespace: demo
runMode: Manual
outputMode: Stream
Operations
start
Start network-graph
$ kubectl annotate -n gadget trace/network-graph \
gadget.kinvolk.io/operation=start
stop
Stop network-graph
$ kubectl annotate -n gadget trace/network-graph \
gadget.kinvolk.io/operation=stop
Output Modes
- Stream