github.com/inspektor-gadget/inspektor-gadget@v0.28.1/docs/crds/gadgets/process-collector.md (about) 1 --- 2 # Code generated by 'make generate-documentation'. DO NOT EDIT. 3 title: Gadget process-collector 4 --- 5 6 The process-collector gadget gathers information about running processes 7 8 ### Example CR 9 10 ```yaml 11 apiVersion: gadget.kinvolk.io/v1alpha1 12 kind: Trace 13 metadata: 14 name: process-collector 15 namespace: gadget 16 spec: 17 node: minikube 18 gadget: process-collector 19 filter: 20 namespace: default 21 labels: 22 role: demo 23 runMode: Manual 24 outputMode: Status 25 ``` 26 27 ### Operations 28 29 30 #### collect 31 32 Create a snapshot of the currently running processes. Once taken, the snapshot is not updated automatically. However one can call the collect operation again at any time to update the snapshot. 33 34 ```bash 35 $ kubectl annotate -n gadget trace/process-collector \ 36 gadget.kinvolk.io/operation=collect 37 ``` 38 39 ### Output Modes 40 41 * Status