For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

About PCAP capturing

To configure PCAP collection with NetCap, you must define two Kubernetes Custom Resources (CRs):

  • NetCaptureStorage - specifies the storage location for collected PCAP files
  • NetCaptureJob - defines the traffic capture configuration, including source interface(s), start time and duration, destination(s) for storing captured traffic, optional filtering or tagging parameters

Both CRs are then processed by NetCap Provider, which translates the configuration from CRs into a NATS Key-Value (KV) entry that configures all NetCap components accordingly. This approach allows for:

  • Centralized configuration using Kubernetes CRs (NetCaptureJob and NetCaptureStorage)
  • Automatic distribution of capture configuration to all NetCap components
  • Fine-grained control over where (on which nodes and VPP instances) and when traffic is captured
  • Flexible PCAP storage options (local disk, remote S3 storage, or SFTP server)
  • CRs are Crossplane-managed resources, which enables integration with Crossplane composition