When I run the following command:
sudo kubectl capture test --ebpf  -M 10 --snaplen 256
It says the capture has been saved to the working directory, this is however not the case. I can't find the file anywhere even if I copy paste the entire listed directory path.
Another thing that I noticed is that when I run the same command without --ebpf the capture gzip file seems to be corrupted.
gzip: capture-test-1557830100.scap.gz: unexpected end of file
When I try to use archive manager to extract the files it says that an error occurred.