Gadget process-collector

    The process-collector gadget gathers information about running processes

    Example CR

    apiVersion: gadget.kinvolk.io/v1alpha1
    kind: Trace
    metadata:
      name: process-collector
      namespace: gadget
    spec:
      node: minikube
      gadget: process-collector
      filter:
        namespace: default
        labels:
          role: demo
      runMode: Manual
      outputMode: Status
    

    Operations

    start

    Create a snapshot of the currently running processes. Once taken, the snapshot is not updated automatically. However one can call the start operation again at any time to update the snapshot.

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

    Output Modes

    • Status