-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Implement Leader Elections for VPA Updater and Recommender #6846
Comments
/area vertical-pod-autoscaler |
This would be a great feature addition. We also run VPA in large Kubernetes clusters so having a HA VPA would be great. |
Agree this is important for running VPA at a large scale, would be interested to see this get prioritized. |
Single replicas of critical components for updater/recommender that contribute to managing cluster state always have a higher chance of failure. This is one of the features for VPA our team would be looking forward to the most |
Another thought here: A users normal expectation is to be able to run multiple replicas of an application (I know this was my assumption when starting with the VPA). For a while we ran too many replicas until we figured out that it was not the correct thing to do. client-go seems to support Leader Election: https://github.com/kubernetes/client-go/blob/c415c7650f46e6852e429307b5ab4f9435797b74/examples/leader-election/main.go |
/assign |
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
Vertical Pod Autoscaler (VPA) has 3 parts: Recommender, Updater and Admission Controller. Currently only the Admission Controller can run with multiple instances, but not the Recommender and Updater.
It can be problematic to run Recommender and Updater with a single replica as the replica can go into ImagePullBackOff, crashloopbackoff, OOM killed or other bad states after a new release deployment or node patching. Recommender and Updater should support multiple replicas and HA.
We want to enable VPA for large multi-tenant Kubernetes cluster fleet with thousands of EKS clusters. Multiple replicas will help ensure availability and make our lives easier.
Describe the solution you'd like.:
This feature request is to implement leader elections for VPA recommender and updater so VPA recommender and updater can support multiple replicas.
Describe any alternative solutions you've considered.:
Additional context.:
The text was updated successfully, but these errors were encountered: