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

Avoid downtime of services introduced by karpenter consolidation in development environments #4849

Closed
saitessell opened this issue Oct 18, 2023 · 1 comment
Labels
feature New feature or request

Comments

@saitessell
Copy link

saitessell commented Oct 18, 2023

Description

What problem are you trying to solve?
I am trying karpenter for my development environments where most of the kubernetes deployments are single replicas. The pods usually take decent time to be ready before serving traffic. In such cases if consolidation kicks in there is an evident downtime for the pods that are being rescheduled because the old pod is terminated before scheduled pod is ready. If we set PDB for these single replica deployments then the consolidation logic is not considering these pods to be moved to a different node. Raising this a feature because i couldn't find any documentation which will allow me to configure how and when the termination of the pods will start in the events of consolidation.

How important is this feature to you?

  • 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
@saitessell saitessell added the feature New feature or request label Oct 18, 2023
@njtran
Copy link
Contributor

njtran commented Oct 18, 2023

PDBs use a label selector, so you can include the label selector to refer to many deployments at once. Otherwise, we're working on Disruption controls which will allow you to configure a node-based disruption budget with a cron schedule.

The design for this is here if you want to check it out: kubernetes-sigs/karpenter#516

I'll close this as a duplicate of kubernetes-sigs/karpenter#753 and kubernetes-sigs/karpenter#679 and #1738

@njtran njtran closed this as completed Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants