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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

underutilized node not getting evict #1829

Closed
hjavaid06 opened this issue May 19, 2022 · 2 comments
Closed

underutilized node not getting evict #1829

hjavaid06 opened this issue May 19, 2022 · 2 comments
Labels
question Further information is requested

Comments

@hjavaid06
Copy link

hjavaid06 commented May 19, 2022

Is an existing page relevant?

yes
What karpenter features are relevant?

Deprovisioning

Actually, my question or issue is that when the load on any node is reduced e.g only one pod running on a node that was provisioned by karpenter previously , is not getting evicted as it is underutilized as only one pod is running on it
so is there any mechanism that moves that pod to another node (which has a capacity) and deleted the new node ?

in simple terms Reallocating the pods in nodes for better resource utilization

i hope made my point clear , let me know if there is any ambiguity

@dewjam dewjam added the question Further information is requested label May 19, 2022
@dewjam
Copy link
Contributor

dewjam commented May 19, 2022

Hello @hjavaid06 ,
Today, Karpenter does not have the capability to evict nodes which are lightly utilized. Though we do have plan to implement a similar feature #1091.

With that being said, you can set the ttlsecondsuntilexpired value in the Karpenter Provisioner Spec to have Karpenter refresh nodes periodically. Just be sure you have Pod Disruption Budgets in place for your critical workloads given Karpenter does not limit the number of concurrent node refresh actions at this time.

@suket22
Copy link
Contributor

suket22 commented May 20, 2022

I'll close this out since this is better tracked via #1091. Let us know if there's anything else we can help with.

@suket22 suket22 closed this as completed May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants