Skip to content

Commit f5d66ea

Browse files
authored
Merge pull request #44 from iovisor/feature/aur-package
docs(kubectl-trace): inform about aur package
2 parents 3e8de86 + ba22dc3 commit f5d66ea

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

README.md

+26-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# kubectl trace
22

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+
![Screenshot showing the read.bt program for kubectl-trace](docs/img/intro.png)
7+
38
<!-- toc -->
49

5-
- [Installation](#installation)
10+
- [Installing](#installing)
11+
* [Source](#source)
12+
* [Packages](#packages)
13+
+ [Arch - AUR](#arch---aur)
614
- [Usage](#usage)
715
* [Run a program from string literal](#run-a-program-from-string-literal)
816
* [Run a program from file](#run-a-program-from-file)
@@ -16,19 +24,31 @@
1624

1725
<!-- tocstop -->
1826

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-
![Screenshot showing the read.bt program for kubectl-trace](docs/img/intro.png)
27+
## Installing
2328

24-
## Installation
29+
### Source
2530

2631
```
2732
go get -u github.com/iovisor/kubectl-trace/cmd/kubectl-trace
2833
```
2934

3035
This will download and compile `kubectl-trace` so that you can use it as a kubectl plugin with `kubectl trace`
3136

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+
3252
## Usage
3353

3454
You don't need to setup anything on your cluster before using it, please don't use it already

0 commit comments

Comments
 (0)