-
Notifications
You must be signed in to change notification settings - Fork 957
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
How to set the minsize and maxsize of the ec2 in karpenter provisioner? #1047
Comments
I'm not sure I follow your ask.
Do you mean the minimum and maximum bounds on the number of EC2 instances Karpenter will provision, or the actual sizes of the instances Karpenter is choosing? If it's the former, you can specify an upper bound by using Karpenter scales to zero which is the default min bound. We don't today support any other min bound, since that generally results in unnecessary costs. We are looking to drive down the time it takes for a node to launch in response to a pending pod (~50s currently) so a min bound of 0 should fit most use cases.
What do you mean by idle time? Karpenter will attach a label signifying a TTL on any empty node, and cordon drain it 30 seconds later. This process happens for each worker node individually. |
Hi, |
Yeah are also looking for something like this even though I guess it's a bit out of scope for the Karpenter project. We like the Karpenter features but it would also be great to be able to set a number and type of base instances that are always provisioned even if empty. |
One option is to use an EKS managed node group or ASG to manage this static capacity. Can you elaborate on the value you see that karpenter could provide in this space? Is it simply that you want a single system that behaves similarly for both use cases? FWIW, I'm totally open minded to including something that accomplishes this in Karpenter. |
Closing in favor of kubernetes-sigs/karpenter#749 |
Version
Karpenter: v0.5.3
Kubernetes: v1.2.0
How to set the minsize and maxsize of the ec2 in karpenter provisioner? Fox example, When I have 10 nodes, how do I manually adjust to 100? And when scaled downs, how to set the parallelism and idle time ?
The text was updated successfully, but these errors were encountered: