https://github.com/alam0rt/kubectl-doktor
https://github.com/alam0rt/kubectl-doktor
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alam0rt/kubectl-doktor
- Owner: alam0rt
- License: apache-2.0
- Created: 2021-04-27T00:25:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T10:17:07.000Z (about 5 years ago)
- Last Synced: 2025-12-17T19:13:18.435Z (7 months ago)
- Language: Go
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# doktor
**doktor** is a (not yet functional in any way) kubectl plugin for tracing and debugging containers using [eBPF](https://ebpf.io/) capabilities of the Linux Kernel.
**doktor** is completely open source and is being built using [ksniff](https://github.com/eldadru/ksniff) as a sort of template since I am not smart enough to workout how to layout such a project myself (thanks @eldadru!).
## Status
**doktor** is at the earliest possible stage of development and doesn't work for anything just yet. Currently I am just planning out how to bring the benefits of **BPF** based tracing to an easy to use kubectl plugin.
I imagine that users can run commands like the ones below which will select the relevant process from the provided pod and run the bpftrace command against it.
```
$ kubectl doktor some-pod --filter 'tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }'
```
## See also
* https://github.com/cloudflare/ebpf_exporter
* https://github.com/iovisor/bpftrace