@@ -31,13 +31,15 @@ Once you have the `kubectl` plugin installed, you can start taking captures:
3131
3232``` bash
3333$ kubectl capture nginx-78f5d695bd-bcbd8
34- Sysdig is starting to capture system calls. See details below :
34+ Sysdig is starting to capture system calls:
3535
36- Node: gke-sysdig-work-default-pool-c2d817f5-ggwv
36+ Node: gke-sysdig-work-default-pool-e35da3a1-m8vp
3737Pod: nginx-78f5d695bd-bcbd8
38- Duration: 120 seconds
38+ Duration: 30 seconds
39+ Parameters for Sysdig: -S -M 30 -pk -z -w /capture-nginx-78f5d695bd-bcbd8-1550246926.scap.gz
3940
40- Your capture is now available at capture-1550080529-nginx-78f5d695bd-bcbd8.scap.gz
41+ The capture has been downloaded to your hard disk at:
42+ ~ /captures/capture-nginx-78f5d695bd-bcbd8-1550246926.scap.gz
4143```
4244
4345And then, you can start troubleshooting with [ Sysdig Inspect] ( https://sysdig.com/opensource/inspect/ ) .
@@ -53,10 +55,14 @@ to capture.
5355
5456There are a few parameters for this plugin:
5557
56- | Flag | Description |
57- | -----------------------| ---------------------------------------------------------------|
58- | ` -d ` or ` --duration ` | The duration in seconds that Sysdig is capturing system calls |
59- | ` -n ` or ` --namespace ` | The namespace scope of the target Pod |
58+ | Flag | Description |
59+ | ------------------------| ---------------------------------------|
60+ | ` -ns ` or ` --namespace ` | The namespace scope of the target Pod |
61+
62+
63+ Aditionally, all the flags for the ` sysdig ` cli tool are supported. You can
64+ check more of these parameters in its
65+ [ documentation] ( https://github.com/draios/sysdig/wiki ) .
6066
6167## Cleanup
6268
0 commit comments