This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Credit: https://cloudyuga.guru/hands_on_lab/tcpdump_kubernetes | |
# install wireshark using brew or through wireshark website for analyzing tcpdump | |
# use patch method if the pods are backed by deployment controller; use debug method for targeting individual pods | |
# launch an emr on eks job that can run for few mins. | |
# for examples, you can visit [eksworkshop](https://www.eksworkshop.com/advanced/430_emr_on_eks/) | |
$ aws emr-containers start-job-run ... | |
# once the job is running, you'll job-runner, driver pod and executors spin up | |
# use below command to connect to the pod of interest and run tcpdump |