Skip to main content
Version: latest

Gadget bindsnoop

bindsnoop traces the kernel functions performing socket binding.

Example CR

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

Operations

start

Start bindsnoop gadget

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

stop

Stop bindsnoop gadget

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

Output Modes

  • Stream