sysdiglabs / kubectl-capture

A kubectl plugin which triggers a Sysdig capture
https://sysdig.com/opensource/inspect/
Apache License 2.0
99 stars 9 forks source link

Weird cli syntax. #11

Open kwri-avongluck opened 4 years ago

kwri-avongluck commented 4 years ago

Any chance of passing a -n for the namespace like the rest of kubectl and most kubectl plugins?

$ kubectl capture -ns coolnamespace utility Sysdig is starting to capture system calls:

Node: Pod: -ns Duration: 120 seconds Parameters for Sysdig: -S -M 120 -pk -z -w /capture--ns-1592326182.scap.gz coolnamespace utility

^^ confusing.