Commit Graph

58 Commits

Author SHA1 Message Date
Mario Valderrama dad480ddd1 Add Ionos Cloud cloudprovider
This change implements autoscaling for Kubernetes on Ionos Cloud.
2020-11-27 16:56:23 +01:00
davidjumani 2d8cd4198d Adding support for Apache CloudStack cloudprovider 2020-11-11 10:24:47 +05:30
Pierre-Emmanuel Jacquier f117bdcb27 Add Exoscale Provider Cluster Autoscale
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
2020-09-21 17:29:53 +02:00
ysy2020 da09d22108 Add huaweicloud to list of supported cloud providers 2020-07-21 10:51:57 -04:00
Maciek Pytel f35dcfa581 Revert "Merge pull request #3099 from ysy2020/cluster-autoscaler-huaweicloud"
This reverts commit 84cbb3bc79, reversing
changes made to 6d6903f2f9.
2020-07-21 13:00:56 +02:00
Kubernetes Prow Robot 84cbb3bc79
Merge pull request #3099 from ysy2020/cluster-autoscaler-huaweicloud
Add huaweicloud to list of supported cloud providers
2020-07-20 08:32:55 -07:00
Maciek Pytel 655b4081f4 Migrate to klog v2 2020-06-05 17:22:26 +02:00
ysy2020 a27db92f3a Add huaweicloud to list of supported cloud providers 2020-04-27 12:57:58 -04:00
Andrew McDermott b95eeb7b82 cloudprovider/builder: add clusterapi
Enable cloudprovider/clusterapi.
2020-03-10 10:27:34 +00:00
Kubernetes Prow Robot 5a58457373
Merge pull request #2276 from digitalocean/digitalocean-builder-fix
Fix cluster-autoscaler/digitalocean builder
2019-08-27 04:00:42 -07:00
Kubernetes Prow Robot bae27fa745
Merge pull request #2280 from timoreimann/add-digitalocean-to-available-cloud-providers
Add DigitalOcean to AvailableCloudProviders
2019-08-26 13:52:37 -07:00
Timo Reimann f74a00f27f Add DigitalOcean to AvailableCloudProviders
DigitalOcean was missing in the list of supported clouds that the
--cloud-provider option displays.
2019-08-26 22:36:43 +02:00
Steven Normore d4aee81d85 Fix cluster-autoscaler/digitalocean builder. 2019-08-26 12:45:21 -04:00
Dimitris Moraitis def49cf4d4 Add support for hardware reservations
Force user to provide custom token-id & token-secret
2019-08-21 21:26:47 +03:00
Dimitris Moraitis c2fc2e168d Add support for Packet (wip) 2019-08-21 21:26:47 +03:00
Fatih Arslan c2e07c0fff cloudprovider: add DigitalOcean cloud provider 2019-08-09 16:11:18 +03:00
t-qini 89a09ccf00 Refactor the corresponding code. 2019-07-22 08:58:51 +08:00
Thomas Hartland 2f6b02b107 Add builders for magnum cloud provider 2019-03-15 13:29:33 +01:00
Łukasz Osipiuk 44bd4842ce Remove GKE cloud provider
Change-Id: I9c2f9853a3137ad9919af882d83ed8d5f07d0a09
2019-03-11 17:41:24 +01:00
hello2mao 8e16e1351d Support Baiducloud Cloud Provider for cluster-autoscaler 2018-12-26 11:15:05 +08:00
Łukasz Osipiuk 016bf7fc2c Use k8s.io/klog instead github.com/golang/glog 2018-11-26 17:30:31 +01:00
ringtail 962826e46a Add Alibaba Cloud Provider support with no vendor (#1309)
* Add Alibaba Cloud Provider

* Add Alibaba Cloud Provider Documents

* Add Alibaba Cloud Provider Examples

* Remove sdk test cases

* fix conflicts in cloud-provider builder

* remove LICENSE in cloudprovider
2018-10-23 14:23:34 +02:00
Aleksandra Malinowska 5292a52074 Remove Kubemark cloud provider from default build 2018-10-17 13:45:21 +02:00
Aleksandra Malinowska c8b14e8cac Extract selecting builder to separate files with build tags 2018-10-15 18:38:47 +02:00
Aleksandra Malinowska 59a47e95d7 Move building Kubemark inside kubemark module 2018-10-15 16:35:58 +02:00
Aleksandra Malinowska 87ae6786cf Move building Azure inside azure module 2018-10-15 16:01:05 +02:00
Aleksandra Malinowska 230c0a9c29 Move building AWS inside aws module 2018-10-15 15:55:09 +02:00
Aleksandra Malinowska 439a3f3a80 Move building GCE inside gce module 2018-10-15 15:49:59 +02:00
Aleksandra Malinowska 4d74314c24 Move building GKE inside gke module 2018-10-15 15:42:47 +02:00
mikeweiwei 4ae1de0a1a fix logging calls(cloud_provider_builder.go) 2018-09-25 16:12:06 +08:00
mikeweiwei 10333ad872 fix logging calls(cloud_provider_builder.go) 2018-09-19 18:01:27 +08:00
Aleksandra Malinowska 0bcad0e821 Remove discoveryOptions from GKE manager constructor 2018-08-20 11:18:41 +02:00
Aleksandra Malinowska b00b915848 Remove redundant parts of GKE and GCE cloud providers 2018-08-14 15:01:18 +02:00
Aleksandra Malinowska 62679a37df Use new GKE cloud provider in builder 2018-08-13 16:50:13 +02:00
Aleksandra Malinowska 3b1b731c91 Move constructing cloud provider dynamic config structs into cloud provider builder 2018-07-25 13:43:47 +02:00
Aleksandra Malinowska 0976d2aa07 Move autoscaling options out of static 2018-07-25 10:52:37 +02:00
Aleksandra Malinowska 03d18e9508 Remove cloud provider builder 2018-07-23 15:52:27 +02:00
Aleksandra Malinowska 54f8497079 Remove unused dynamic.Config 2018-07-19 14:53:09 +02:00
Aleksandra Malinowska f98e953eb4 Add regional flag 2018-03-12 14:15:56 +01:00
Pengfei Ni 0b5cabdaf9 Support multiple node groups on Azure (#542)
* Add azure node group caches

* Fix azure client fakes

* Wrap all clients to azClient

* Add support for multipe node groups in Azure

* Add unit tests
2018-01-15 11:33:41 +01:00
Nic Cope e96ff07896 Replace the Polling Autoscaler
Node group discovery is now handled by cloudprovider.Refresh() in all cases.
Additionally, explicit node groups can now be used alongside autodiscovery.
2017-12-11 13:09:56 -08:00
Nic Cope 6a704a6cf4 Break down cloud provider builder by provider
The Build method was getting pretty big, this hopefully makes it a little
more readable. It also fixes a few minor error shadowing bugs.
2017-12-11 13:09:56 -08:00
Nic Cope 982f9e41a3 Support autodetection of GCE managed instance groups by name prefix
This commit adds a new usage of the --node-group-auto-discovery flag intended
for use with the GCE cloud provider. GCE instance groups can be automatically
discovered based on a prefix of their group name. Example usage:

--node-group-auto-discovery=mig:prefix=k8s-mig,minNodes=0,maxNodes=10

Note that unlike the existing AWS ASG autodetection functionality we must
specify the min and max nodes in the flag. This is because MIGs store only
a target size in the GCE API - they do not have a min and max size we can
infer via the API.

In order to alleviate this limitation a little we allow multiple uses of the
autodiscovery flag. For example to discover two classes (big and small) of
instance groups with different size limits:

./cluster-autoscaler \
  --node-group-auto-discovery=mig:prefix=k8s-a-small,minNodes=1,maxNodes=10 \
  --node-group-auto-discovery=mig:prefix=k8s-a-big,minNodes=1,maxNodes=100

Zonal clusters (i.e. multizone = false in the cloud config) will detect all
managed instance groups within the cluster's zone. Regional clusters will
detect all matching (zonal) managed instance groups within any of that region's
zones.
2017-12-11 13:09:56 -08:00
Pengfei Ni 8f7d35b4e0 Enable azure options for autoscaler 2017-11-16 21:31:49 +08:00
Marcin Wielgus 596f478e63 Merge pull request #414 from krzysztof-jastrzebski/resource_limit
Adds resource limits to cloud provider.
2017-10-23 20:38:04 +02:00
Krzysztof Jastrzebski 56ac572666 Adds resource limits to cloud provider. 2017-10-23 16:06:56 +02:00
Maciej Pytel 7b95e71315 Use GKE alpha client when autoprovisioning is enabled 2017-10-23 15:21:02 +02:00
Krzysztof Jastrzebski 1d0c237adc Cloudprovider/gce/gce_cloud_provider.go unit tests. 2017-09-20 07:57:43 +02:00
Clayton Coleman 5d23189b38
Return the proper error when failing to init cloud provider 2017-09-02 12:02:19 -04:00
Marcin Wielgus 2d8f59e23d Set verbosity for each of the glog.Info logs 2017-09-01 12:34:29 +02:00