kubectl-doktor

module
v0.0.0-...-722d0c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2021 License: Apache-2.0

README

doktor

doktor is a (not yet functional in any way) kubectl plugin for tracing and debugging containers using eBPF capabilities of the Linux Kernel.

doktor is completely open source and is being built using 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

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL