简体   繁体   中英

Sniff hostnetwork traffic from a kubernetes pod

I have a pod running in a production cluster. The pod is for debugging purpose and I would like to sniff the host network traffic. For security reason, I cannot deploy the pod in the host network.

Is it possible to sniff the host network traffic from a non hostnetwork pod in kubernetes?

A Pod only received traffic that is addressed to the Pod.

A CNI plugin is the component that you would be interested in, since that a way to plugin and intercept the traffic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM