-
Notifications
You must be signed in to change notification settings - Fork 34
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
Helm chart installation on Minikube running on Mac: Module kheaders not found in directory /lib/modules/5.15.49-linuxkit #12
Comments
The root cause is this message I am not sure why minikube failed on mac while it works on Linux. Is it because the VM image difference? |
Minikube should be based on a Docker image right? |
minikube is a VM based kubernetes distribution. There is an (old) instruction of installing kernel headers in order to run ebpf in minikube |
Hi, I was able to by-pass the issue by running Linux on my Mac using Multipass (https://multipass.run) or any other similar (like https://github.com/lima-vm/lima) and running then the k8 cluster (Docker for Linux + k3, Minikube, etc) on top of that. This allowed me to install linux headers since docker was using the Linux virtualized kernel (instead of the docker for Mac VM version). One clarification: if you have a M1 Mac, the Keeper images are not compiled for arm64 chipsets, so you will need to generated from scratch and install on the local registry for this to work. Ref: |
@sfontanarrosa thank you for the info. Can you add this to the kepler-doc? |
@rootfs for sure. Will submit a PR to the Kepler-doc with some additional how-to for Mac users. |
thank you @sfontanarrosa |
I'm seeing this on linux as well. |
This is my Minikube setup on a mac instance running on intel:
I donwloaded the helm chart and installed kepler and while reading the logs I noticed this:
When exposing the port 9102 via
kubectl port-forward kepler-lgd6k 9102:9102 -n kepler
This is what I get:
Is kepler giving me the right metrics?
The text was updated successfully, but these errors were encountered: