kubectl-prof
kubectl-prof copied to clipboard
kubectl-prof is a kubectl plugin to profile applications on kubernetes with minimum overhead
ADDED: switched to buildx to ease the multi-platform builds ADDED: Variabilization of the async-profiler version CHANGED: switched to supported version of Java container images as a base images fixes #34
./kubectl-prof quickstart-es-default-0 -n default --pgrep Elasticsearch -e cpu -l java -t 500s -o raw --log-level debug Default profiling tool async-profiler will be used ... ✔ Verifying target pod ... ✔...
Hey all, I've been able to get kubectl-prof working with the perf profiler and it works beautifully (thanks for the hard work here!). However, I'd really like to use the...
Hi there, Just wanted to know if there would be an interest for the support of Arm64 architectures ? Any work launched on the topic or foreseen challenges ? I...
New awesome async-profiler version: https://github.com/async-profiler/async-profiler/releases/tag/v4.0
Here a low-overhead sampling profiler for PHP 7+ [https://github.com/adsr/phpspy](https://github.com/adsr/phpspy) [https://github.com/reliforp/reli-prof](https://github.com/reliforp/reli-prof)
for example in https://github.com/josepdcs/kubectl-prof/blob/main/internal/cli/kubernetes/job/jvm.go#L76 The capability in the JobConfig for perf sampling can be lowered from `SYS_ADMIN` to just `PERFMON` and `SYSLOG` kernels prior to v5.9 may require `SYS_PTRACE` https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html#perf-events-access-control...
The default configuration could be stored in `.kube` folder as yaml file: `kubectl-prof.yml`
Command ``` kubectl prof -n test-ns test-pod -e wall -t 30s -l java -o flamegraph --tool async-profiler --pgrep java ``` Output ``` Verifying target pod ... ✔ Launching profiler ......
Just curious if maybe the ebpf-based profiler or something else already in the project can get memory information on python (and other) processes. If not, consider this a feature request!...