You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to run sniff in privileged mode, its just fails right after starting the privileged container.
It completes so fast that it does not even give a chance to check what's happening in the privileged pod (-v is also not helpful)
Any suggestion on how to debug this ?
Using latest version sniff plugin
kubectl sniff ngnix -n default -p
INFO[0000] no container specified, taking first container we found in pod.
INFO[0000] selected container: 'ngnix'
INFO[0000] sniffing method: privileged pod
INFO[0000] sniffing on pod: 'ngnix' [namespace: 'default', container: 'ngnix', filter: '', interface: 'any']
INFO[0000] creating privileged pod on node: 'node-1'
INFO[0000] pod: 'ksniff-w4mkm' created successfully in namespace: 'default'
INFO[0000] waiting for pod successful startup
INFO[0003] pod: 'ksniff-w4mkm' created successfully on node: 'node-1'
INFO[0003] spawning wireshark!
INFO[0003] starting remote sniffing using privileged pod
INFO[0003] executing command: '[docker --host unix:///var/run/docker.sock run --rm --name=ksniff-container-hPDDCmXn --net=container:ce30c6e702526a19d748db87f6f29bb05987899bc9de03a98845f28091c6ccf4 maintained/tcpdump -i any -U -w - ]' on container: 'ksniff-privileged', pod: 'ksniff-w4mkm', namespace: 'default'
INFO[0003] starting sniffer cleanup
INFO[0003] removing privileged container: 'ksniff-privileged'
INFO[0003] executing command: '[docker --host unix:///var/run/docker.sock rm -f ksniff-container-hPDDCmXn]' on container: 'ksniff-privileged', pod: 'ksniff-w4mkm', namespace: 'default'
INFO[0003] command: '[docker --host unix:///var/run/docker.sock rm -f ksniff-container-hPDDCmXn]' executing successfully exitCode: '0', stdErr :'Error: No such container: ksniff-container-hPDDCmXn'
INFO[0003] privileged container: 'ksniff-privileged' removed successfully
INFO[0003] removing pod: 'ksniff-w4mkm'
INFO[0003] removing privileged pod: 'ksniff-w4mkm'
INFO[0003] privileged pod: 'ksniff-w4mkm' removed
INFO[0003] pod: 'ksniff-w4mkm' removed successfully
INFO[0003] sniffer cleanup completed successfully
Error: exit status 1
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to run sniff in privileged mode, its just fails right after starting the privileged container.
It completes so fast that it does not even give a chance to check what's happening in the privileged pod (-v is also not helpful)
Any suggestion on how to debug this ?
Using latest version sniff plugin
The text was updated successfully, but these errors were encountered: