Gadget mountsnoop
mountsnoop traces mount and umount syscalls
Example CR
apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
name: mountsnoop
namespace: gadget
spec:
node: ubuntu-hirsute
gadget: mountsnoop
runMode: Manual
outputMode: Stream
filter:
namespace: default
Operations
start
Start mountsnoop gadget
$ kubectl annotate -n gadget trace/mountsnoop \
gadget.kinvolk.io/operation=start
stop
Stop mountsnoop gadget
$ kubectl annotate -n gadget trace/mountsnoop \
gadget.kinvolk.io/operation=stop
Output Modes
- Stream