Open
Conversation
Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr>
Author
|
As recorded in the k3s-io/k3s#7778, most dependencies now support the riscv64 architecture, except klipper-helm and klipper-lb. It also seems that Rancher has started supporting RISC-V images, as is the case with Local Path Provisioner. I have updated this PR, as the base Alpine image now also supports RISC-V, so there is no need to use another container. |
Contributor
|
@chazapis could you rebase/redo this one? :) As dapper got removed it should be much less now. |
Contributor
|
I opned #117 in the meanwhile |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since Helm does not provide riscv64 binaries yet, I use a separate
Dockerfilethat builds from source. I have already submitted a PR to Helm for releasing a RISC-V binary. When it is merged, theDockerfile.riscv64can be simplified.The
entryscript has also been modified to function without Helm v2. Helm v2 is deprecated, a release has not been made for close to 3 years, and according to the documentation v2 charts can also be installed with Helm v3. The newentryscript should function even when Helm v2 is required, but can also be easily modified to fail with an error.The work is part of an ongoing effort to run K3s on RISC-V. In K3s, klipper-helm is used to install Traefik, which is part of the default deployment.
The resulting container image, built with
ARCH=riscv64 makehas been tested on QEMU and is working fine.