-
Notifications
You must be signed in to change notification settings - Fork 166
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
Can't get trace on EKS with error "linux/types.h' file not found" #126
Comments
I also see this with GKE v1.18.6-gke.4801
|
Thanks for confirming @howardjohn and wondering if anyone here had a chance to look into it? |
Is this project dead? |
Can you give us the output of I think you need to install the First attempt to try would be to use the |
Thanks @leodido for following up, clearly not dead ;)
Will do ASAP, yes. |
|
As @leodido mentioned you may need to run with |
GKE in M85 (1.18) should include BTF. I am going to be doing some work on bpftrace to ensure the image we use in kubectl trace can take advantage of this. We also use GKE, which is why I made the --fetch-headers flag, since they don't have an easy way to get headers. However, once BTF is fully supported there, it will be much prefered. |
So to get the tracing running properly you need to have |
Headers yes, or use the “—fetch-headers” flag (which will slow down starting the trace significantly, but ought to ensure correctness). support for BTF and IKHEADERS should be coming soon for kernels that support it. for now, what we do at shopify is use a daemonset with an init container to pre-install headers on all nodes, using the same script as what is done with “—fetch-headers”. |
I have a vanilla EKS cluster and tried the first example here, that is:
… however nothing happens. When I then look at the logs, I get:
Any idea what I am doing wrong?
The text was updated successfully, but these errors were encountered: