@@ -31,13 +31,15 @@ Once you have the `kubectl` plugin installed, you can start taking captures:
31
31
32
32
``` bash
33
33
$ kubectl capture nginx-78f5d695bd-bcbd8
34
- Sysdig is starting to capture system calls. See details below :
34
+ Sysdig is starting to capture system calls:
35
35
36
- Node: gke-sysdig-work-default-pool-c2d817f5-ggwv
36
+ Node: gke-sysdig-work-default-pool-e35da3a1-m8vp
37
37
Pod: 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
39
40
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
41
43
```
42
44
43
45
And then, you can start troubleshooting with [ Sysdig Inspect] ( https://sysdig.com/opensource/inspect/ ) .
@@ -53,10 +55,14 @@ to capture.
53
55
54
56
There are a few parameters for this plugin:
55
57
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 ) .
60
66
61
67
## Cleanup
62
68
0 commit comments