Lab

Kubernetes Packet Capture with Isopcap

Capture pod traffic on a live Kubernetes cluster with Isopcap — no pod changes, CNI-independent, driven by a simple CRD.

Isopcap brings Kubernetes-native packet capture to your cluster. A lightweight DaemonSet agent watches PacketCapture custom resources and captures traffic for the pods you select — without modifying, restarting, or injecting sidecars into your workloads, and independently of which CNI you run.

In this hands-on lab you'll use the pre-installed Isopcap agent to run your first capture against a labeled workload and confirm real packets were recorded. You'll then narrow a capture with a BPF filter and size/duration bounds, retrieve the resulting PCAPng file, and inspect it with tcpdump.

Finally, you'll go beyond static captures and configure a metric trigger that ends a capture early when TCP resets spike — the foundation for "capture only when something interesting happens." You'll then put it all together in a real-world debugging scenario, using protocol-targeted captures to find the root cause of an app team's "HTTP drops" and latency. Next, you'll ship finished captures to an S3-compatible bucket with the agent's built-in upload sidecar and pull a trace back with s3cmd, without touching a node. A quiz and a practical exam close the track so you can prove you can target, filter, and trigger captures on demand.

  • 📦 Meet Isopcap & Capture Your First Packets

    Explore the Isopcap agent and capture live pod traffic with a single PacketCapture resource.

  • 🔍 Filter & Retrieve a Capture

    Narrow a capture with a BPF filter and bounds, then pull the PCAPng file and inspect it with tcpdump.

  • 🚨 End a Capture Early with a Trigger

    Configure a TCPReset metric trigger so a capture stops automatically when something interesting happens.

  • 🕵️ Debug HTTP Drops with Targeted Captures

    Use Isopcap as a debugging tool to capture different protocols and find the real cause of an app team's "HTTP drops" and latency.

  • 📦 Ship Captures to Object Storage

    Mirror completed captures to an S3 bucket with the built-in upload sidecar, reclaim node disk, and pull the trace back with s3cmd.

  • 🥋 Exam: Build a Filtered, Triggered Capture

    Prove you can target, filter, and trigger an Isopcap capture without step-by-step guidance.