containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[EKS] [request]: Enable HPAScaleToZero feature gate for EKS 1.16+/1.17+

Open Majkl578 opened this issue 3 years ago • 9 comments

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 Kubernetes 1.16 added a feature flag HPAScaleToZero to allow HPA scaling to/from zero. https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/

Which service(s) is this request for? EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? We have pods for RabbitMQ consumers that are idling for a long time when the queue is empty. We want them to spawn only when the queue has some messages.

Are you currently working around this issue? No.

Majkl578 avatar Jul 10 '20 13:07 Majkl578

Question: is enabling this feature dependent on kubernetes/enhancements/pull/2022 leaving "alpha"?

noahlz avatar Nov 17 '20 15:11 noahlz

There's a broader issue which would cover this as well: https://github.com/aws/containers-roadmap/issues/512

scravy avatar Feb 28 '21 04:02 scravy

could https://github.com/aws/containers-roadmap/issues/512#issuecomment-663924038 be a workaround?

sumowrestler avatar May 11 '21 13:05 sumowrestler

Almost 1 year anniversary of this request. What can we do to move it forward?

noahlz avatar Jul 08 '21 15:07 noahlz

we need this to save cost and specially in DR

nvermalulu avatar Nov 16 '21 06:11 nvermalulu

Hello,

I ended up implementing a little tool https://github.com/machine424/kube-hpa-scale-to-zero that simulates this for Kube clusters that cannot enable the feature gate, awaiting for the feature gate to go GA.

machine424 avatar Jul 17 '22 14:07 machine424

Coming up on 2 years since I last asked about this. Any chance it will be implemented or at least acknowledged?

noahlz avatar May 30 '23 18:05 noahlz

We switched to KEDA operator and scaledObjects, it is way more flexible.

On Tue, 30 May 2023, 20:49 Noah Zucker, @.***> wrote:

Coming up on 2 years since I last asked about this. Any chance it will be implemented or at least acknowledged?

— Reply to this email directly, view it on GitHub https://github.com/aws/containers-roadmap/issues/978#issuecomment-1568913819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALJMPGVLLNSX5PZRTXPVWDXIY6K5ANCNFSM4OWSRAKQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nvtkaszpir avatar May 30 '23 18:05 nvtkaszpir

Ya, would probably recommend just using Keda, much more flexible, fully in your control and not too difficult to use.

sidewinder12s avatar May 03 '24 04:05 sidewinder12s