github.com/inspektor-gadget/inspektor-gadget@v0.28.1/docs/crds/gadgets/network-graph.md (about)

     1  ---
     2  # Code generated by 'make generate-documentation'. DO NOT EDIT.
     3  title: Gadget network-graph
     4  ---
     5  
     6  The network-graph gadget monitors the network activity in the specified pods and records the list of TCP connections and UDP streams.
     7  
     8  ### Example CR
     9  
    10  ```yaml
    11  apiVersion: gadget.kinvolk.io/v1alpha1
    12  kind: Trace
    13  metadata:
    14    name: network-graph
    15    namespace: gadget
    16  spec:
    17    node: albantyphoon-worker000003
    18    gadget: network-graph
    19    filter:
    20      namespace: demo
    21    runMode: Manual
    22    outputMode: Stream
    23  ```
    24  
    25  ### Operations
    26  
    27  
    28  #### start
    29  
    30  Start network-graph
    31  
    32  ```bash
    33  $ kubectl annotate -n gadget trace/network-graph \
    34      gadget.kinvolk.io/operation=start
    35  ```
    36  #### stop
    37  
    38  Stop network-graph
    39  
    40  ```bash
    41  $ kubectl annotate -n gadget trace/network-graph \
    42      gadget.kinvolk.io/operation=stop
    43  ```
    44  
    45  ### Output Modes
    46  
    47  * Stream