Weave Kubernetes Addon not working on latest kernel

I have a Kubernetes cluster that has AMD and ARM nodes. My ARM nodes are Raspberry Pi’s. I recently added two Raspberry Pi 4’s to my cluster. I installed the latest DietPi image on them which comes with kernel 4.19.75-v7l+. My K8s cluster uses the Weave network plugin. On the two new nodes the Weave pods Segfault. After a lot of searching I found there is an issue with kernel 4.19.75 and the fix is to upgrade to a later kernel like 4.19.81. That bug can be seen here - https://github.com/weaveworks/weave/issues/3717

My other Raspberry Pi are 3’s and they are running 4.19.66-v7+ and Weave works just fine on that kernel.

So my question: Is there a way to upgrade the kernel? Running apt-get dist-upgrade doesn’t work and I was not able to find anything in my searching.

I do have a copy of DietPi stretch (4.19.66-v7+) but I was hoping to not have to go backwards :slight_smile:


many thanks for your report.

DietPi for RPi is based on Raspbian Lite. It’s not an independent distribution with on own kernel. You could try using rpi-update to update to latest kernel version but this would be on your own risk. This is because it updates the Linux kernel and Raspberry Pi firmware to the very latest version which is currently under test. It may therefore make your Pi unstable, or cause random breakage.


BTW: using rpi-update was as well suggested on the link your provided.

Thank you so much for the fast reply. I did see the rpi-update and will try that next but like you said it’s a use at your own risk option. I suppose if things go south I can always install the stretch version that works with Weave.

Is it possible that future releases of DeitPi will have updated kernels ?

Thanks again!

usually it should be updated during dietpi-update

OK, good to know.

I installed rpi-update and ran it and now both new nodes are working. So far not seeing any issues with the 4.19.95-v7l+ kernel.

Appreciate the help and info.


New RPi Kernel 4.19.93-v7 was released now

root@DietPi3:~# uname -a
Linux DietPi3 4.19.93-v7+ #1290 SMP Fri Jan 10 16:39:50 GMT 2020 armv7l GNU/Linux