[OpenWrt-Devel] Running k3s on OpenWrt
yszhou4tech at gmail.com
Wed Nov 27 22:33:13 EST 2019
I am sending this email in case it's also interesting to someone in
the community, and to also avoid it bit rotting in my repo 
A few months ago, I started working on bringing up k3s on OpenWrt. I
managed to have a small k8s cluster with nodes running centos and
openwrt. Likely other linux distros will also do, but I didn't test
combination of different architectures yet.
K3s is on its own a k8s distribution. It provides a single packaged
binary for amd64, arm64, armhf. If I understand it right, the binary
is supposed to be as userland-dependency-free as possible, with
dependencies only on the kernel.
One thing worth noting is that the openwrt package is NOT official,
neither from OpenWrt nor k3s upstream project. It packages binary
executables distributed by k3s upstream project which is generally
frowned upon if sources are available.
The other thing is that k3s (or k8s) requires quite a few kernel
features to run, some of them only available as builtin (compared to
kmod). This means you will likely to build your own image to use it.
The required features as of k3s 1.0.0 are recorded as well and
available as a default off config symbol CONFIG_k3s_KERNEL 
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel