500 以上の kubernetes ポッドに対して tcpdump を実行し、30 ~ 120 秒間サンプリングしたいと考えています。kubectl
単一のポッドに対してうまく機能します:
$ kubectl exec -ti [POD NAME] timeout [SAMPLE TIME] tcpdump
...
real tcpdump output in stdout!
parallel
このコマンドの結果を簡単にダンプできるを使用したいと思います。上記のコマンドの先頭に追加しても機能しparallel
ません:
$ parallel kubectl exec -ti [POD NAME] timeout [SAMPLE TIME] tcpdump
Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
To silence the citation notice: run 'parallel --bibtex'.
parallel: Warning: Input is read from the terminal.
parallel: Warning: Only experts do this on purpose. Press CTRL-D to exit.
これを行う正しい方法は何ですか?