MATRIXX Third-Party Analysis Utilities

You can use the third-party Linux tcpdump utility to capture network traffic for a MATRIXX application.

Sometimes it is necessary to capture the network traffic for an application to help diagnose an issue. You can run the tcpdump utility in a pod with a sidecar container. The sidecar container shares the same resources as the main application container and, therefore, can monitor processes and networking. Sidecars can be deployed to MATRIXX applications by using the additionalContainers Helm chart property. For more information about this property, see the discussion about other overrides in MATRIXX Configuration.
Note: It is not recommended to run the tcpdump sidecar for long periods.
The following is an example of a tcpdump sidecar for the MATRIXX SBA Gateway CHF application:
sba-5gc-chf:
  enabled: true
  additionalContainers:
    - name: tcpdump
      image: corfr/tcpdump
      command:
        - /bin/sleep
        - infinity
      volumeMounts:
        - name: shared-logging-storage
          mountPath: /var/log/mtx