You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-6
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,16 @@
1
1
# kubectl trace
2
2
3
+
`kubectl trace` is a kubectl plugin that allows you to schedule the execution
4
+
of [bpftrace](https://github.com/iovisor/bpftrace) programs in your Kubernetes cluster.
5
+
6
+

7
+
3
8
<!-- toc -->
4
9
5
-
-[Installation](#installation)
10
+
-[Installing](#installing)
11
+
*[Source](#source)
12
+
*[Packages](#packages)
13
+
+[Arch - AUR](#arch---aur)
6
14
-[Usage](#usage)
7
15
*[Run a program from string literal](#run-a-program-from-string-literal)
8
16
*[Run a program from file](#run-a-program-from-file)
@@ -16,19 +24,31 @@
16
24
17
25
<!-- tocstop -->
18
26
19
-
`kubectl trace` is a kubectl plugin that allows you to schedule the execution
20
-
of [bpftrace](https://github.com/iovisor/bpftrace) programs in your Kubernetes cluster.
21
-
22
-

27
+
## Installing
23
28
24
-
##Installation
29
+
### Source
25
30
26
31
```
27
32
go get -u github.com/iovisor/kubectl-trace/cmd/kubectl-trace
28
33
```
29
34
30
35
This will download and compile `kubectl-trace` so that you can use it as a kubectl plugin with `kubectl trace`
31
36
37
+
### Packages
38
+
39
+
You can't find the package for your distro of choice?
40
+
You are very welcome and encouraged to create it and then [open an issue](https://github.com/iovisor/kubectl-trace/issues/new) to inform us for review.
41
+
42
+
#### Arch - AUR
43
+
44
+
The official [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=kubectl-trace-git) is on AUR.
45
+
46
+
If you use `yay` to manage AUR packages you can do:
47
+
48
+
```
49
+
yay -S kubectl-trace-git
50
+
```
51
+
32
52
## Usage
33
53
34
54
You don't need to setup anything on your cluster before using it, please don't use it already
0 commit comments