-
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
Is it possible to run k8s autoscaler on our own cluster? #953
Comments
Hi @tjliupeng, I guess you'd need to provide your own implementation of the |
@kgolab , what do you mean "provide your own implementation of the CloudProvider interface"? |
Cluster Autoscaler adds or removes nodes from the cluster by creating or deleting VMs. To separate the autoscaling logic (the same for all clouds) from the API calls required to execute it (different for each cloud), the latter are hidden behind an interface. Each supported cloud has its own implementation of it, and To add support for your private cloud:
There are a couple things to consider before you even get started:
|
Thanks for the detail explanation, @aleksandra-malinowska |
@aleksandra-malinowska |
It is. All that CA is doing to scale-up is pick the best node group to scale-up and change its desired size. It expects the node group will be able to start the VM and configure it so that the VM will be able to join the cluster (ie. all CA does is make the decision to resize a particular node group, it doesn't actually create nodes). |
[e2e] Use kind 0.18
Hi, guys,
According to the autoscaler document, it should be run on GCE, GKE, Azure or AWS cluster. I am just wondering whether it can run on our own k8s cluster in our private cloud.
Thanks!
The text was updated successfully, but these errors were encountered: