github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/resources/samples/trace-socket-collector.yaml (about) 1 apiVersion: gadget.kinvolk.io/v1alpha1 2 kind: Trace 3 metadata: 4 name: socket-collector 5 namespace: gadget 6 spec: 7 node: my-node 8 gadget: socket-collector 9 filter: 10 namespace: default 11 podname: mypod 12 runMode: Manual 13 outputMode: Status 14 parameters: 15 proto: all # all, udp and tcp are allowed