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

armhf support? #622

Closed
cjbottaro opened this issue Dec 27, 2018 · 4 comments · Fixed by #735
Closed

armhf support? #622

cjbottaro opened this issue Dec 27, 2018 · 4 comments · Fixed by #735

Comments

@cjbottaro
Copy link

Trying to get this to run on Rasbian Stretch which is armhf. I saw this commit c7ce398, but that only looks to do arm and arm64?

Thanks for the help!

@cjbottaro
Copy link
Author

Here's what I found out...

There is support for arm and arm64 but cloudnativelabs doesn't host those images on Docker Hub. This guy does though: https://hub.docker.com/r/xjjo/kube-router/tags

I have a non-homogenous Kubernetes cluster; some nodes are arm and some are amd64. So taking inspiration from the flannel installation manifests, I had to make multiple kube-router DaemonSet manifests: kube-router-arm and kube-router-amd64 using nodeSelector to put each one nodes of the the right architecture.

It would be really nice if cloudnativelabs hosted images of each supported arch on Docker Hub and altered the install manifests to include them. I can take care of that latter part if there is interest.

@jpds
Copy link
Contributor

jpds commented Jan 1, 2019

I have a non-homogenous Kubernetes cluster; some nodes are arm and some are amd64. So taking inspiration from the flannel installation manifests, I had to make multiple kube-router DaemonSet manifests: kube-router-arm and kube-router-amd64 using nodeSelector to put each one nodes of the the right architecture.

Can you please post this manifest here?

@cjbottaro
Copy link
Author

Here ya go: https://gist.github.com/cjbottaro/5dfaef75a212a798c73b865c168ef19f

Couple of things to note:

  • There are multiple DaemonSet manifests in that file
  • hostPort is enabled

@hakan458
Copy link

hakan458 commented Mar 6, 2019

@cjbottaro Can you provide a little more detail? What controls which one gets run? I see you have a line like

      nodeSelector:
        beta.kubernetes.io/arch: arm

But not sure how it gets routed to one or the other? Is there one daemonset file which then points to the arm/amd64 one?

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

Successfully merging a pull request may close this issue.

3 participants