K3s agent user space binaries
60
stars
79
commits
Shell
primary language
Jun 10, 2026
updated
==========
k3s-root is based on https://github.com/buildroot/buildroot and provides the userspace binaries for k3s-io/k3s
k3s-root is built in docker, which means you should be able to simply make on your machine to compile. By default, make will compile for amd64. If you want to compile for other architectures, you can run commands like:
make ARCH=arm64
or alternatively, if you want to compile all architectures at once, you can run:
make all-build
If it is not the first time you build, delete the directories artifacts/ and dist/ to avoid problems when creating the symbolic link in the package step:
sudo rm -r artifacts/ dist/
The default way of building this project is through a docker container using docker buildx. While you may be able to run the build scripts standalone, we do not test or support doing so.
To upgrade to a new buildroot version:
git checkout -B bump-buildroot origin/masterBUILDROOT_VERSION in scripts/downloadmake download to prepare a Docker image for further workdocker run --rm -it -e BUILDARCH=<ARCH> k3s-io/k3s-root:dev /bin/bash./scripts/patchcd /usr/src/buildroot && make olddefconfig.config into buildroot/config and buildroot/<ARCH>configmake BUILDARCH=<ARCH>Shell
84.5%
Makefile
8.4%
Dockerfile
7.1%
K3s agent user space binaries
60
stars
79
commits
Shell
primary language
Jun 10, 2026
updated
==========
k3s-root is based on https://github.com/buildroot/buildroot and provides the userspace binaries for k3s-io/k3s
k3s-root is built in docker, which means you should be able to simply make on your machine to compile. By default, make will compile for amd64. If you want to compile for other architectures, you can run commands like:
make ARCH=arm64
or alternatively, if you want to compile all architectures at once, you can run:
make all-build
If it is not the first time you build, delete the directories artifacts/ and dist/ to avoid problems when creating the symbolic link in the package step:
sudo rm -r artifacts/ dist/
The default way of building this project is through a docker container using docker buildx. While you may be able to run the build scripts standalone, we do not test or support doing so.
To upgrade to a new buildroot version:
git checkout -B bump-buildroot origin/masterBUILDROOT_VERSION in scripts/downloadmake download to prepare a Docker image for further workdocker run --rm -it -e BUILDARCH=<ARCH> k3s-io/k3s-root:dev /bin/bash./scripts/patchcd /usr/src/buildroot && make olddefconfig.config into buildroot/config and buildroot/<ARCH>configmake BUILDARCH=<ARCH>Shell
84.5%
Makefile
8.4%
Dockerfile
7.1%