Skip to content
openwrt package to install k3s
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add 0.3.0 Mar 31, 2019
files/etc/init.d Make grep quiet Apr 28, 2019
.gitignore Initial commit Mar 9, 2019
ARCHS Initial commit Mar 9, 2019
Makefile Add 0.4.0 Apr 28, 2019 Update May 10, 2019
VERSIONS Add 0.4.0 Apr 28, 2019

k3s on OpenWrt

Makefile to generate OpenWrt .opkg packages from official k3s binaries.


This requires a custom kernel with support for various cgroup, namespaces, vxlan, cfs scheduler etc. See here for my openwrt config:


To allow the k3s' flannel bridge to access the internet, configure a interface for cni0 in uci:


config interface 'k8s'
	option proto 'none'
	option ifname 'cni0'


config zone
        option name 'k8s'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        option network 'k8s'


Run make to build the default version for x86_64. You can override ARCH and VERSION, e.g make ARCH=armhf. See ARCHS and VERSIONS files for available architectures and versions.

You can’t perform that action at this time.