For troubleshooting, provide a mechanism to trigger packet capture on demand (full packet content), targeting a specific pod or a set of pods (e.g. by controller name or by labels).
A new CRD must be created to describe the packet-capture setup. It should include:
The target pod(s) identification (pod name, or controller name, or pod labels)Some optional filters:Flow direction: ingress / egress / bothPeer name / type / ip / port
Time limit and/or packet count limit (capture first N packets)Sampling
A kubectl / oc plugin should also be created to capture from the command line and get the output
Note, there can be a follow-up to add an UI
- is depended on by
-
NETOBSERV-1279 Netobserv CLI
- Closed
- links to