forked from kubernetes-sigs/krew-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsniff.yaml
54 lines (53 loc) · 1.83 KB
/
sniff.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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: sniff
spec:
version: "v1.3.1"
homepage: https://github.com/eldadru/ksniff
platforms:
- uri: https://github.com/eldadru/ksniff/releases/download/v1.3.1/ksniff.zip
sha256: 71102253eded8900c8f7b0d0624c65b3c77ecd6bcd28fabc9a200daac502282a
bin: kubectl-sniff
files:
- from: ./kubectl-sniff-darwin
to: kubectl-sniff
- from: ./static-tcpdump
to: static-tcpdump
selector:
matchLabels:
os: darwin
arch: amd64
- uri: https://github.com/eldadru/ksniff/releases/download/v1.3.1/ksniff.zip
sha256: 71102253eded8900c8f7b0d0624c65b3c77ecd6bcd28fabc9a200daac502282a
bin: kubectl-sniff
files:
- from: ./kubectl-sniff
to: kubectl-sniff
- from: ./static-tcpdump
to: static-tcpdump
selector:
matchLabels:
os: linux
arch: amd64
- uri: https://github.com/eldadru/ksniff/releases/download/v1.3.1/ksniff.zip
sha256: 71102253eded8900c8f7b0d0624c65b3c77ecd6bcd28fabc9a200daac502282a
bin: kubectl-sniff.exe
files:
- from: ./kubectl-sniff-windows
to: kubectl-sniff.exe
- from: ./static-tcpdump
to: static-tcpdump
selector:
matchLabels:
os: windows
arch: amd64
shortDescription: easly start a remote packet capture on kubernetes 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.