Delivering modern cloud-native applications with open source technologies on Azure Kubernetes Service
Goal: Configure packet capture for specific pods and review captured payload.
Packet captures are Kubernetes Custom Resources and thus native Kubernetes RBAC can be used to control which users/groups can run and access Packet Captures; this may be useful if Compliance or Governance policies mandate strict controls on running Packet Captures for specific workloads. This demo is simplified without RBAC but further details can be found here.
Redis
as example.Note: You can see the endpoint details from UI, and we choose the service port
6379
for capture the traffic.
Schedule the packet capture job with specific port and time.
You will see the job scheduled in service graph.
Download the pcap file once the job is Capturing
or Finished
.
Open the pcap file with wireshark or other utilis, you will see the ingress and egress traffic associate with redis
pods i.e 10.240.0.72