Git Product home page Git Product logo

k3s-openwrt's People

Contributors

discordianfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

k3s-openwrt's Issues

Installation fails with "incompatible with the architectures configured"

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 :)

Managed to run it in docker+openwrt rootfs

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.