kots icon indicating copy to clipboard operation
kots copied to clipboard

Add support for kots on arm64

Open camilamacedo86 opened this issue 3 years ago • 4 comments

Description

Currently, we are unable to use kots install and schedule the console on arch arm64. The kotsadm pod will not be scheduled:

https://github.com/replicatedhq/kots/blob/c597a4aebbf5caead94419b860c3d2311146d702/pkg/kotsadm/objects/affinity_objects.go#L10-L35

More info: https://github.com/replicatedhq/kots/issues/896

Motivation

  • Add support for Apple Silicon
  • Allow users and maintainers to use and test the solution into for example Apple Silicon.
  • Allow users to use the solution in any linux arm64 env

camilamacedo86 avatar Oct 27 '22 07:10 camilamacedo86

Thank you for opening this issue, @camilamacedo86. This is something that we hope to support in the future, and SC34569 is our internal tracker for this.

cbodonnell avatar Oct 27 '22 13:10 cbodonnell

👍 on this one, currently I can't test KOTS locally on minikube, I'm forced to use a remote cluster

CharlesB2 avatar Jun 14 '23 13:06 CharlesB2

Hi folks, just got a macbook with an M2 chip and removing the arm64 affinity rule in the kots deployment allows it to be scheduled and as far as I can tell, it works without a problem after that.

Was the kots binary made arm64 compatible and it's now just a matter of removing that restriction in the deployment? Here are the changes I made to get it to work.

adejanovski avatar Jul 03 '23 12:07 adejanovski

I request at least an option --ignore-arch or something so we can do it. It works and might not be compiled right, but with rosetta installed it works without an issue

roderik avatar Aug 29 '23 09:08 roderik