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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EKS] [request]: cluster-autoscaler ARM64 support #1022

Closed
arashkaffamanesh opened this issue Aug 9, 2020 · 9 comments
Closed

[EKS] [request]: cluster-autoscaler ARM64 support #1022

arashkaffamanesh opened this issue Aug 9, 2020 · 9 comments
Labels
EKS ARM Related to EKS ARM instances EKS Amazon Elastic Kubernetes Service OSS Open-source software Proposed Community submitted issue

Comments

@arashkaffamanesh
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
What do you want us to build?
The cluster-autoscaler from here:
https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
doesn't work on EKS on ARM, since the image is built for AMD64.

Which service(s) is this request for?
For EKS.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

The based image used is the distroless image which is apparently not ARM compatible.
Tried to use arm64v8/amazonlinux as the base image, without any luck.

Are you currently working around this issue?
How are you currently solving this problem?

Not succeeded yet to build the ARM / multi-arch cluster-autoscaler image.

@arashkaffamanesh arashkaffamanesh added the Proposed Community submitted issue label Aug 9, 2020
@mikestef9 mikestef9 added EKS Amazon Elastic Kubernetes Service EKS ARM Related to EKS ARM instances OSS Open-source software labels Aug 10, 2020
@alittlec
Copy link

I worked around this, by using debian:slim-buster as base image.

@arashkaffamanesh
Copy link
Author

FYI:
kubernetes/autoscaler#3419 (comment)

But still having problems to get it running on EKS on ARM.

@tabern tabern added this to Researching in containers-roadmap via automation Nov 15, 2020
@tabern tabern moved this from Researching to We're Working On It in containers-roadmap Nov 15, 2020
@autarchprinceps
Copy link

This would only make sense, if it is a single multi arch image, as that makes transparently switching instance types, including mixed instance types, spotfleets, etc. possible.

@mikestef9
Copy link
Contributor

Cluster autoscaler added Arm support in 1.20 release

https://github.com/kubernetes/autoscaler/releases/tag/cluster-autoscaler-1.20.0

It is being worked on being backported to older versions

@trallnag
Copy link

trallnag commented Jan 25, 2021

@mikestef9, are the autoscaler versions coupled to Kubernetes versions (1.20 only supports 1.20, etc.) in some way or is the similar versioning only a coincidence?

I use the following file to set / override values and it seems to work on K8s 1.18:

awsRegion: eu-central-1

rbac:
  create: true
  serviceAccount:
    name: autoscaler
    annotations:
      eks.amazonaws.com/role-arn: "arn:aws:iam::<xy>:role/eks-kube-system-autoscaler"

autoDiscovery:
  clusterName: hello-world
  enabled: true

image:
  repository: us.gcr.io/k8s-artifacts-prod/autoscaling/cluster-autoscaler
  tag: v1.20.0
  pullPolicy: IfNotPresent

fullnameOverride: autoscaler

@mikestef9
Copy link
Contributor

The cluster autoscaler release versions are only tested against the matching Kubernetes version. However, as long as there are no wire API changes, there is a good chance a newer cluster autoscaler version will work just fine on an older cluster version, as is the case here.

@stevehipwell
Copy link

It would be useful if there was a compatibility matrix for cluster-autoscaler and EKS versions; maybe even with some notes as to what was added in each release.

@mikestef9 mikestef9 moved this from We're Working On It to Coming Soon in containers-roadmap May 15, 2021
@mikestef9
Copy link
Contributor

Closing as EKS now supports v1.20, and the v1.20 release of cluster autoscaler is multi-arch and compatible with Graviton nodes.

containers-roadmap automation moved this from Coming Soon to Just Shipped May 19, 2021
@arashkaffamanesh
Copy link
Author

Thanks a ton!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EKS ARM Related to EKS ARM instances EKS Amazon Elastic Kubernetes Service OSS Open-source software Proposed Community submitted issue
Projects
Development

No branches or pull requests

6 participants