Skip to content

Instantly share code, notes, and snippets.

@jairojunior
Last active May 25, 2018 20:34
Show Gist options
  • Save jairojunior/9f80036d2a22f15ef0454eb0bc637efb to your computer and use it in GitHub Desktop.
Save jairojunior/9f80036d2a22f15ef0454eb0bc637efb to your computer and use it in GitHub Desktop.

find pod's host

oc describe po pod-name

interface index

oc exec pod-name cat /sys/devices/virtual/net/eth0/iflink

find vethx by index

ip a

finally

tcpdump -i vethx <filter>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment