discordianfish / k3s-openwrt Goto Github PK
View Code? Open in Web Editor NEWopenwrt package to install k3s
openwrt package to install k3s
Hey Johannes,
I was trying to install k3s to a custom build of openwrt, and kept getting this error about incompatible architectures.
Managed to fix it by changing this line.
I replaced $(ARCH)
with the value of DISTRIB_ARCH
from /etc/openwrt_release
, and created a build.
Everything is working as expected now. I even upgraded to 1.21.0+k3s1
.
However /etc/init.d/k3s start
isn't starting the service. But, for now I'm manually running k3s server
, and will continue to debug.
I only opened this issue to let you know about the ARCH
mismatch issue, and also about the new release of openwrt.
Thanks for this repo, and Cheers :)
Hi,
Just to tell you I managed to run it in Docker with an openwrt rootfs, but I had to mount /var/lib/rancher/k3s as a directory:
$ docker run -it --privileged -v $PWD/dir:/var/lib/rancher/k3s openwrt-18.06.4-x64 /bin/sh
I will try to document the procedure, but it is basically similar to https://openwrt.org/docs/guide-user/virtualization/docker_openwrt_image with importing http://downloads.openwrt.org/releases/18.06.4/targets/x86/64/openwrt-18.06.4-x86-64-generic-rootfs.tar.gz , creating /var/run and /var/lock, installing the package, and starting the k3s server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.