Commit Graph

12 Commits

Author SHA1 Message Date
Clint Fooken ab4fff6307 Fixing go formatting issue in cloudstack cloud provider code. 2022-11-07 08:57:38 -08:00
Clint Fooken 08dfc7e20f Changing deletion logic to rely on a new helper method in ClusterStateRegistry, and remove old complicated logic. Adjust the naming of the method for cloud instance deletion from NodeExists to HasInstance. 2022-11-04 17:54:05 -07:00
Clint Fooken ea7059f4c6 Adjusting initial implementation of NodeExists to be consistent among cloud providers to return true and ErrNotImplemented. 2022-10-17 18:39:19 -07:00
Clint cf67a3004e
Implementing new cloud provider method for node deletion detection (#1)
* Adding isNodeDeleted method to CloudProvider interface. Supports detecting whether nodes are fully deleted or are not-autoscaled. Updated cloud providers to provide initial implementation of new method that will return an ErrNotImplemented to maintain existing taint-based deletion clusterstate calculation.
2022-10-17 14:58:38 -07:00
davidjumani 97b0d60a4e
Fix tests 2022-03-21 16:28:05 +05:30
davidjumani 1681e8d543
Refactor code 2022-03-21 16:07:22 +05:30
davidjumani 9cd06c2f85
cluster-autoscaler/cloudstack: Identify node by name and id 2022-03-21 13:53:33 +05:30
davidjumani a5d7c1c719
Update image for cloudstack cluster-autoscaler 2021-09-15 11:57:54 +05:30
GuyTempleton 17e028bd9e
CA - Cloud Provider Examples - add ability to list/watch/get namespaces
As of the 1.22 release of k8s, the scheduler now requires the ability to list namespaces
2021-08-23 15:39:38 +01:00
Maciek Pytel 08d18a7bd0 Define interfaces for per NodeGroup config.
This is the first step of implementing
https://github.com/kubernetes/autoscaler/issues/3583#issuecomment-743215343.
New method was added to cloudprovider interface. All existing providers
were updated with a no-op stub implementation that will result in no
behavior change.
The config values specified per NodeGroup are not yet applied.
2021-01-25 11:00:16 +01:00
Bartłomiej Wróblewski 0fb897b839 Update imports after scheduler scheduler/framework/v1alpha1 removal 2020-11-30 10:48:52 +00:00
davidjumani 2d8cd4198d Adding support for Apache CloudStack cloudprovider 2020-11-11 10:24:47 +05:30