-
Notifications
You must be signed in to change notification settings - Fork 54
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
cilium-envoy failing on RPi4 + RaspbianOS #1027
Comments
👋 We have one workaround with gperftools, can you give it a try ? https://github.com/cilium/proxy?tab=readme-ov-file#building-for-the-raspberry-pi-kernelc |
Should be able to cross compile yeah? Having some errors thrown out, need to check with more attention |
Very cryptic failure, not sure what. Seems like I can build fine without using the extra build argument
|
After analyzing this a bit. It seems that there is something happening with cross-compile and this gperftools options. From the output it looks like when cross-compiling I need to use a
I dont seem to be able to find this config.log file (host or buildx container) and also trying out to include --host in bazel configs throws an error. This time i changed the options to clear the cache, to make sure something weird was not happening:
For reference, i'm trying to compile for v1.29, commit ID 2c13e1e. |
My current process is to try and build the image(only arm) in the RPI4 directly, which will take some time... BUILDKIT_PROGRESS=plain NO_CACHE=1 NO_ARCHIVE=1 DOCKER_BUILD_OPTS="--output=out" ARCH=arm64 BAZEL_BUILD_OPTS="--define tcmalloc=gperftools --verbose_failures --sandbox_debug" sudo -E make docker-image-envoy > build.log Will then build the amd one and stich them with buildx or something if it works. 🤞 |
I personally rely on cross compilation, however, sometime local testing can be done with the below command directly. If it helps, might need to bundle binary to docker image.
|
Finally build after couple days, will give it a try in the next days |
While trying to deploy cilium in my RPi4, cilium-envoy crashes wih:
I still have available RAM on the system. Further debugging might indicate that i am missing some Kernel enabled configs:
From page https://docs.cilium.io/en/latest/operations/system_requirements/#base-requirements. Cant really install linux-modules-extra-raspi from raspios unless i download and install the packages from the ubuntu which might be compatible.
Otherwise would need to rebuild the kernel?(which i never did) and might not persist changes between future updates./
Not exactly sure on the best course of action here:
cilium was deployed with cilium-cli downloaded directly on the RPi node with:
The text was updated successfully, but these errors were encountered: