Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arm64v8 image #12

Closed
vchrisb opened this issue Mar 17, 2019 · 16 comments
Closed

Add arm64v8 image #12

vchrisb opened this issue Mar 17, 2019 · 16 comments

Comments

@vchrisb
Copy link

vchrisb commented Mar 17, 2019

adding arm64v8 support would be great!

@deminngi
Copy link

deminngi commented Apr 4, 2019

I installed successfully k3s on arm64 with weave Net overlay network on a bunch of RockPro64 hexa-core cluster and made my own private local-path-provisioner arm64v8 instance using Alpine Linux instead of Ubuntu:18.04. Alpine Linux image size is approx 100Mi, testing was successful.

$ uname -a
Linux <server> 4.4.167-1161-rockchip-ayufan-g6f1664023387 #1 SMP Fri Mar 22 23:03:38 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux

$ k get all -n local-path-storage
NAME                                          READY   STATUS    RESTARTS   AGE
pod/local-path-provisioner-6868fbd6c6-nvjk5   1/1     Running   0          22m

NAME                                     READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/local-path-provisioner   1/1     1            1           22m

NAME                                                DESIRED   CURRENT   READY   AGE
replicaset.apps/local-path-provisioner-6868fbd6c6   1         1         1       22m

IMHO alpine linux reduce the footprint even further.

$ docker images
REPOSITORY                       TAG                 IMAGE ID            CREATED             SIZE
powder/local-path-provisioner   arm64v8-latest      4648cd96351c        39 minutes ago      84MB
multiarch/alpine                arm64-edge          5d8c30c02153        21 hours ago        15.9MB

Should I make a PR using Alpine Linux?

@yasker
Copy link
Member

yasker commented Apr 4, 2019

@giminni Sure, that would be great!

Though I don't have a setup to test arm64, so I would be unable to fix if there is anything wrong with Arm. But I am OK on accepting a PR for arm64 as long as there is no impact on running with x86.

@anitgandhi
Copy link
Contributor

anitgandhi commented Apr 16, 2019

@giminni we switched to Alpine in #13 , I think adding arm64/multi-arch support can build off that potentially?

I'm not sure why the local-path-provisioner:arm64v8 image is so much larger than plain alpine:arm64, however. When I cross-compiled the Go arm64 binary it was 27MB.

@optimuspaul
Copy link

have any arm images been pushed anywhere?

@yasker
Copy link
Member

yasker commented May 2, 2019

Can anyone try @km4rcus 's image? The build has been merged to master as well.

@vchrisb
Copy link
Author

vchrisb commented May 2, 2019

@yasker can you initiate a build to docker hub?

@optimuspaul
Copy link

I haven't tried that specific build but I did build it for arm myself and it is working

@yasker
Copy link
Member

yasker commented May 2, 2019

v0.0.8 released and the image pushed. Let me know if it works.

@yasker yasker closed this as completed May 2, 2019
@vchrisb
Copy link
Author

vchrisb commented May 3, 2019

@yasker I don't see any multi-arch image tags on docker hub and also no manifest to support multi-arch
Did you update your build pipeline?

@yasker
Copy link
Member

yasker commented May 3, 2019

@vchrisb sorry, not familiar with multi arch build. Let me check what should I do for an arm image.

@tamsky
Copy link

tamsky commented May 25, 2019

@yasker , please take a look at
https://github.com/rancher/dapper/blob/master/scripts/build
for a rancher-approved dapper-style example.

@ljani
Copy link

ljani commented May 25, 2019

arm image seems to be missing as well, this is what I got on a raspberry pi:

kubectl logs -n local-path-storage pod/local-path-provisioner-69fc9568b9-vg4m2
standard_init_linux.go:211: exec user process caused "exec format error"

@tamsky
Copy link

tamsky commented May 28, 2019

@yasker please take a look at #24 , thanks!

@yasker
Copy link
Member

yasker commented May 28, 2019

@tamsky Thanks for the help! I will check it.

@nielsole
Copy link

Can we /reopen this ticket as it is still waiting for #24 to be merged?

@yasker yasker reopened this Jul 10, 2019
@yasker
Copy link
Member

yasker commented Sep 27, 2019

Multiarch supported in v0.0.11 release.

https://github.com/rancher/local-path-provisioner/releases/tag/v0.0.11

@yasker yasker closed this as completed Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants