inspektor-gadget
/
.krew.yaml
67 строк · 2.9 Кб
1apiVersion: krew.googlecontainertools.github.com/v1alpha2
2kind: Plugin
3metadata:
4name: gadget
5spec:
6version: {{ .TagName }}
7homepage: https://github.com/inspektor-gadget/inspektor-gadget
8shortDescription: Gadgets for debugging and introspecting apps
9description: |
10Inspektor Gadget is a collection of tools (or gadgets) to debug and inspect
11Kubernetes resources and applications. It manages the packaging, deployment
12and execution of eBPF programs in a Kubernetes cluster, including many based
13on BCC tools, as well as some developed specifically for use in Inspektor
14Gadget. It automatically maps low-level kernel primitives to high-level
15Kubernetes resources, making it easier and quicker to find the relevant
16information.
17
18Inspektor Gadget is deployed to each node as a privileged DaemonSet.
19It uses in-kernel eBPF helper programs to monitor events mainly related to
20syscalls from userspace programs in a pod. The eBPF programs are run by
21the kernel and gather the log data. Inspektor Gadget's userspace utilities
22fetch the log data from ring buffers and display it. What eBPF programs are
23and how Inspektor Gadget uses them is briefly explained in the architecture
24document:
25https://github.com/inspektor-gadget/inspektor-gadget/blob/main/docs/architecture.md
26caveats: |
27Inspektor Gadget needs to be deployed to each node:
28
29$ kubectl gadget deploy
30
31Read the documentation available at https://github.com/inspektor-gadget/inspektor-gadget
32to get more information about the server side installation process.
33platforms:
34- selector:
35matchLabels:
36os: linux
37arch: amd64
38{{addURIAndSha "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/{{ .TagName }}/kubectl-gadget-linux-amd64-{{ .TagName }}.tar.gz" .TagName }}
39bin: kubectl-gadget
40
41- selector:
42matchLabels:
43os: linux
44arch: arm64
45{{addURIAndSha "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/{{ .TagName }}/kubectl-gadget-linux-arm64-{{ .TagName }}.tar.gz" .TagName }}
46bin: kubectl-gadget
47
48- selector:
49matchLabels:
50os: darwin
51arch: amd64
52{{addURIAndSha "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/{{ .TagName }}/kubectl-gadget-darwin-amd64-{{ .TagName }}.tar.gz" .TagName }}
53bin: kubectl-gadget
54
55- selector:
56matchLabels:
57os: darwin
58arch: arm64
59{{addURIAndSha "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/{{ .TagName }}/kubectl-gadget-darwin-arm64-{{ .TagName }}.tar.gz" .TagName }}
60bin: kubectl-gadget
61
62- selector:
63matchLabels:
64os: windows
65arch: amd64
66{{addURIAndSha "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/{{ .TagName }}/kubectl-gadget-windows-amd64-{{ .TagName }}.tar.gz" .TagName }}
67bin: kubectl-gadget.exe
68