-
Notifications
You must be signed in to change notification settings - Fork 194
/
plugin.yaml
31 lines (31 loc) · 1.33 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "sniff"
shortDesc: "Sniffing on remote kubernetes pod"
longDesc: >
Ease the operation of sniffing on remote kubernetes pod.
example: "kubectl sniff consul-54897664dd-gb4qg"
command: "./kubectl-sniff"
flags:
- name: "pod"
shorthand: "p"
desc: "pod name"
- name: "container"
shorthand: "c"
desc: "Optional. Container name. Used when running multiple containers within a pod. If omitted, the first container in the pod will be chosen."
- name: "filter"
shorthand: "f"
desc: "Optional. if specified, will be the tcpdump filter, otherwise no filter will be used."
- name: "output-file"
shorthand: "o"
desc: "Optional. if specified, ksniff will redirect tcpdump output to local file instead of wireshark."
- name: "local-tcpdump-path"
shorthand: "l"
desc: "Optional. if specified, ksniff will use this path as the local path of the static tcpdump binary."
- name: "remote-tcpdump-path"
shorthand: "r"
desc: "Optional. if specified, ksniff will use the specified path as the remote path to upload static tcpdump to."
- name: "verbose"
shorthand: "v"
desc: "Optional. if specified, ksniff output will include debug information"
- name: "privileged"
shorthand: "p"
desc: "Optional. if specified, ksniff will deploy another pod that has privileges to attach target pod network namespace"