Add support for kots on arm64
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
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.
👍 on this one, currently I can't test KOTS locally on minikube, I'm forced to use a remote cluster
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.
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