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

Is arm64 platform supported? #8320

Closed
aurorazl opened this issue Jun 15, 2020 · 9 comments
Closed

Is arm64 platform supported? #8320

aurorazl opened this issue Jun 15, 2020 · 9 comments
Labels
kind/question Further information is requested

Comments

@aurorazl
Copy link

Is arm64 suppoerted now?I can't find any components of arm64 version in dockerhub. Ialso try to run the same component's image in arm64 platform,and init linux error was raise!

@aurorazl aurorazl added the kind/question Further information is requested label Jun 15, 2020
@nak3
Copy link
Contributor

nak3 commented Jun 17, 2020

It is not supported for now.

As #2517 also discussed, I think we will not support it until ko support multi-platform which is tracked by ko-build/ko#6.

@dprotaso
Copy link
Member

dprotaso commented Jul 7, 2020

Although ko doesn't build multi-platform images you can use go build env vars GOARCH=arm64 ko ... to build your own arm images for now

@mattmoor has been playing with arm - I believe on a Raspberry Pi.

@mattmoor
Copy link
Member

mattmoor commented Jul 7, 2020

If you have an envoy ARM64 build (which I think will be shipped with 1.15+) then you should be able to build much of the rest of knative with GOARCH=ARM64 ko apply -f ....

We don't have official support for any platform/arch other than linux/amd64 currently.

@mattmoor
Copy link
Member

Gonna close this now, but feel free to open a new issue if you have any additional questions.

@aurorazl
Copy link
Author

aurorazl commented Aug 28, 2020

If you have an envoy ARM64 build (which I think will be shipped with 1.15+) then you should be able to build much of the rest of knative with GOARCH=ARM64 ko apply -f ....

We don't have official support for any platform/arch other than linux/amd64 currently.

Thanks you,it works!

@ddelange
Copy link

Hi @mattmoor! 👋

With the recent push for linux/arm64 hardware, are there any plans or aspirations to start pushing multi-arch images and allow scheduling on arm-based nodes in the manifests similar to istio?

@mattmoor
Copy link
Member

IIRC Knative publishes multi-arch images for ~5 architectures. Historically the main limiting factor for serving has been where the ingress layer supports (typically limited by Envoy). I've been running Knative serving on arm64 for almost 2 years (basically since Envoy had an arm64 build), so it definitely works.

@ddelange
Copy link

Thanks for the quick response! The question came up for me (getting into KServing) when I applied the manifests from https://github.com/knative/docs/blob/release-1.4/docs/install/yaml-install/serving/install-serving-with-yaml.md.

For future readers: I now indeed see arm64 images on gcr.io, I will add an kubernetes.io/arch=arm64 toleration and nodeSelector via kubectl patch deployment, as our arm nodes are tainted.

@dprotaso
Copy link
Member

some more details about ko which does the multi-arch builds

https://kubesimplify.com/getting-started-with-ko-a-fast-container-image-builder-for-your-go-applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants