-
Notifications
You must be signed in to change notification settings - Fork 194
/
.krew.yaml
70 lines (69 loc) · 2.07 KB
/
.krew.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: sniff
spec:
version: {{ .TagName }}
homepage: https://github.com/eldadru/ksniff
platforms:
- {{ addURIAndSha "https://github.com/eldadru/ksniff/releases/download/{{ .TagName }}/ksniff.zip" .TagName }}
bin: kubectl-sniff
files:
- from: kubectl-sniff-darwin
to: kubectl-sniff
- from: static-tcpdump
to: .
- from: LICENSE
to: .
selector:
matchLabels:
os: darwin
arch: amd64
- {{ addURIAndSha "https://github.com/eldadru/ksniff/releases/download/{{ .TagName }}/ksniff.zip" .TagName }}
bin: kubectl-sniff
files:
- from: kubectl-sniff-darwin-arm64
to: kubectl-sniff
- from: static-tcpdump
to: .
- from: LICENSE
to: .
selector:
matchLabels:
os: darwin
arch: arm64
- {{ addURIAndSha "https://github.com/eldadru/ksniff/releases/download/{{ .TagName }}/ksniff.zip" .TagName }}
bin: kubectl-sniff
files:
- from: kubectl-sniff
to: .
- from: static-tcpdump
to: .
- from: LICENSE
to: .
selector:
matchLabels:
os: linux
arch: amd64
- {{ addURIAndSha "https://github.com/eldadru/ksniff/releases/download/{{ .TagName }}/ksniff.zip" .TagName }}
bin: kubectl-sniff.exe
files:
- from: kubectl-sniff-windows
to: kubectl-sniff.exe
- from: static-tcpdump
to: .
- from: LICENSE
to: .
selector:
matchLabels:
os: windows
arch: amd64
shortDescription: Start a remote packet capture on pods using tcpdump and wireshark
caveats: |
This plugin needs the following programs:
* wireshark (optional, used for live capture)
description: |
When working with micro-services, many times it's very helpful to get a capture of the network
activity between your micro-service and it's dependencies.
ksniff use kubectl to upload a statically compiled tcpdump binary to your pod and redirecting it's
output to your local Wireshark for smooth network debugging experience.