-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed fetching headers #144
Comments
seems that symlink /lib/modules/$(uname -r)/build make problem |
I don't quite understand what you mean, could you give me detailed instructions Thanks very much! |
That's a problem I think I've solved! kubectl trace ,There are two parameters,Look at help, I'm ignoring the alias here: kubetrace run -h | grep head kubectl trace run pod/nginx nginx -e "tracepoint:syscalls:sys_enter_* { @[probe] = count(); } --init-imagename=quay.io/custom-init-image-name --fetch-headers" quay.io/iovisor/kubectl-trace-init:latest This image Can help us to get kernel headers; But because of the system,So you need to modify this script and re-create an image based on your own system! scripts name is "fetch-linux-headers.sh";Modify several system paths The last rebuild your image;Then Specify the parameters for example: kubetrace run --serviceaccount=kubectltrace node/your_nodename --fetch-headers --init-imagename quay.io/iovisor/kubectl-trace-init:test --tracer bcc --program tcpconnect -a -n default --args "-p 9831" --args "-t" |
Hi.
I'm trying to use kubectl-trace on my single node microk8s env
My system is
What I did first run it without "--fetching header"
then tried with "--fetch-headers"
Any hints to solve it?
The text was updated successfully, but these errors were encountered: