Gadget tcpconnect
tcpconnect traces connect() system calls
Example CR
apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
name: tcpconnect
namespace: gadget
spec:
node: ubuntu-hirsute
gadget: tcpconnect
runMode: Manual
outputMode: Stream
filter:
namespace: default
Operations
start
Start tcpconnect gadget
$ kubectl annotate -n gadget trace/tcpconnect \
gadget.kinvolk.io/operation=start
stop
Stop tcpconnect gadget
$ kubectl annotate -n gadget trace/tcpconnect \
gadget.kinvolk.io/operation=stop
Output Modes
- Stream