kubernetes / autoscaler

Autoscaling components for Kubernetes
Apache License 2.0
8.08k stars 3.97k forks source link

HPA & VPA are not compatible by design #1726

Closed mossuchida closed 5 years ago

mossuchida commented 5 years ago

Objective:

Issue:

Proposed Solution

Benefit:

mossuchida commented 5 years ago

I found another solution, closing this issue.

sidheshdivekar29 commented 5 years ago

@mossuchida Do you mind sharing the solution.

aviramha commented 4 years ago

I found another solution, closing this issue.

I'd love to know too!

mossuchida commented 4 years ago

I used safe-scheduler instead : https://github.com/IBM/kube-safe-scheduler. It will monitor current resource util & create pod to proper node. I am not using VPA any more as it evicts pods every time & causes app downtime.

kipusoep commented 3 years ago

Looking for the same thing as well, but the mentioned kube-safe-scheduler seems abandoned 😔 Any other alternatives?

mossuchida commented 3 years ago

@kipusoep, This is the best solution, just that community is taking forever to review. What it does is to change resource of container without restarting the container. Which would enable HPA & VPA to work together : https://github.com/kubernetes/kubernetes/pull/102884

mohammadkhavari commented 2 years ago

Are there any updates or new solutions to use multi-dimensional auto-scaling? Would you please share? @mossuchida @kipusoep @aviramha

aviramha commented 2 years ago

hey @mohammadkhavari, I haven't found a solution but it's not relevant for me anymore. From a bit of Googling I did right now (as it's still interesting) I've found GKE is offering such feature: https://cloud.google.com/kubernetes-engine/docs/how-to/multidimensional-pod-autoscaling maybe they'll open source it later on :)