Skip to main content
Version: latest

Gadget tcptracer

Trace tcp connect, accept and close

Example CR

apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
name: tcptracer
namespace: gadget
spec:
node: ubuntu-hirsute
gadget: tcptracer
runMode: Manual
outputMode: Stream
filter:
namespace: default

Operations

start

Start tcptracer gadget

$ kubectl annotate -n gadget trace/tcptracer \
gadget.kinvolk.io/operation=start

stop

Stop tcptracer gadget

$ kubectl annotate -n gadget trace/tcptracer \
gadget.kinvolk.io/operation=stop

Output Modes

  • Stream