kubectl-flame
kubectl-flame copied to clipboard
Improve ability to triage errors
I tried this plugin and I see this error
kubectl logs -n XXX kubectl-flame-80bde19a-17e5-4a15-8aa0-edf8dce6c58c-sb2zb {"type":"progress","data":{"time":"2020-08-24T13:17:47.12752075Z","stage":"started"}} {"type":"error","data":{"reason":"exit status 1"}}
kubectl flame -n XXXX XXX-894cd9c96-452nl Verifying target pod ... ✔ Launching profiler ... ✔ Profiling ... Error: exit status 1
Getting a little bit more error, but still not anything triageable/actionable with v0.1.2
.
> kc flame -n XXX XXXXX -t 1m -f /tmp/flamegraph.svg --alpine
Verifying target pod ... ✔
Launching profiler ... ✔
Profiling ... Error: Could not find any process
^C
More information about my system:
Base Image: azul/zulu-openjdk-alpine:11-jre
This issue relates to #12
我也遇到了这个问题,我想应该是容器所运行的宿主机中没有安装linux-header-* 软件包导致的;对于golang进程使用bpf需要使用内核软件包,我想Flame插件程序也应该对于此问题有个更合适的解决方案