Conversation
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
|
Currently working, with both docker and containerd: root@k3s-server-1:/ # kubectl get node -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
k3s-server-1 Ready control-plane,master 80s v1.26.3+k3s-73fec085 172.17.0.2 <none> K3s v1.26.3+k3s-73fec085 5.15.0 containerd://1.6.19-k3s1
root@k3s-server-1:/ # kubectl run busybox --restart=Never --rm -it --image docker.io/library/busybox:latest -- uname -a
Linux busybox 5.15.0 #4 SMP Thu Apr 13 00:16:53 UTC 2023 riscv64 GNU/Linuxroot@riscv01:~# kubectl get node -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
riscv01.lan.khaus Ready control-plane,etcd,master 78s v1.26.3+k3s-398089cd 10.0.1.202 <none> Ubuntu 22.10 5.15.0 docker://20.10.21
root@riscv01:~# kubectl run busybox --restart=Never --rm -it --image docker.io/library/busybox:latest -- uname -a
Linux busybox 5.15.0 #4 SMP Thu Apr 13 00:16:53 UTC 2023 riscv64 GNU/Linux |
|
Here's a copy of the kernel config I'm currently using, in case anyone wants to play with this on their own: |
|
@brandond - check out ubuntu official starfive vision five 2 image, k3s-check script reports almost all-green lines and it's much easier to start with this build than build on your own. This kernel (6.2) contains some fixes from upstream and don't have issues like limited to 4GB memory on 8GB boards. |
|
This is implemented using cross-compiling in #7778. |
|
I'm going to close this out - this was mostly just for me to tinker with, and the linked PR is much more comprehensive. |
|
@brandond thanks for information, should we see first binaries in next releases? I'll test them out :) |
|
No, we don't have a solid timeline for even experimental binaries out of our CI pipeline. We will likely have to deal with some issues around riscv64 versions of our required images before we can move this forward. |
Proposed Changes
Get K3s working on riscv64
Types of Changes
hack
Verification
Testing
Linked Issues
riscv64architecture #7151User-Facing Change
Further Comments
Lots of caveats:
riscv64/alpine:edgebase image.