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

Clarification on restart-free updates with VPA #5885

Closed
abasha1 opened this issue Jun 23, 2023 · 7 comments
Closed

Clarification on restart-free updates with VPA #5885

abasha1 opened this issue Jun 23, 2023 · 7 comments
Labels
area/vertical-pod-autoscaler lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@abasha1
Copy link

abasha1 commented Jun 23, 2023

Hello,

I'm currently reviewing the KEDA and VPA projects for possible implementation and had a question about a specific feature mentioned in the documentation.

The documentation for VPA mentions an "Auto" mode that may take advantage of restart-free updates once they become available. From my understanding, the current approach of VPA requires pods to be restarted when their resource allocations are adjusted. However, the mention of "restart-free updates" suggests a future feature where VPA can adjust the resources of a running pod without needing to restart it.
image

Can you provide more information on this feature? Specifically, I'd like to understand:

1.Does "restart-free" mean that the pod can be scaled without being recreated?(or you mean rolling update? )
2. If it is a planned feature, is there an expected timeline for its implementation? ( as i read in kubernetes 1.27.1 version its already possible)
I'm particularly interested in understanding if and how we could use VPA to dynamically scale pods without causing disruption by recreating them.

Thank you for your assistance.

@abasha1 abasha1 changed the title Clarification on restart-free updates with VPA" Body: Clarification on restart-free updates with VPA" Jun 23, 2023
@abasha1 abasha1 changed the title Clarification on restart-free updates with VPA" Clarification on restart-free updates with VPA Jun 23, 2023
@Shubham82
Copy link
Contributor

cc @jbartosik @voelzmo

@jbartosik
Copy link
Collaborator

This is a planned feature. There are more details in enhancement proposal and on #4016. I also want to do some related changes to allow control in direction of scaling in place #5754.

This is not exactly "restart-free". The alpha feature available in 1.27 allows containers to be resized in place, but container might specify that it wants to be restarted when its memory or CPU are change.

I think this is a really great improvement to how VPA works so I'd like to see support for in-place updates in VPA soon. But I can't commit to any specific timeline.

Please let me know if you have any questions / suggestions

@Shubham82
Copy link
Contributor

Thanks, @jbartosik for the above information, it's really useful.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 23, 2024
@Shubham82
Copy link
Contributor

This is a planned feature. There are more details in enhancement proposal and on #4016. I also want to do some related changes to allow control in direction of scaling in place #5754.

This is not exactly "restart-free". The alpha feature available in 1.27 allows containers to be resized in place, but container might specify that it wants to be restarted when its memory or CPU are change.

I think this is a really great improvement to how VPA works so I'd like to see support for in-place updates in VPA soon. But I can't commit to any specific timeline.

Please let me know if you have any questions / suggestions

I'm closing this issue according to the above explanation given by @jbartosik.
@abasha1 Please reopen it if you have any concerns.

@Shubham82
Copy link
Contributor

/close

@k8s-ci-robot
Copy link
Contributor

@Shubham82: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vertical-pod-autoscaler lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants