Commit Graph

52 Commits

Author SHA1 Message Date
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
t-qini f7c563ab06 Modify the code as the simple solution proposed by MaciekPytel. 2019-07-18 23:58:05 +08:00
t-qini 622a838c2c Modify nodal similarity rules. 2019-07-09 16:04:40 +08:00
Łukasz Osipiuk 0c16234e64 Implement Stringer for InstanceErrorClass 2019-05-31 15:51:17 +02:00
Jiaxin Shan 90666881d3 Move GPULabel and GPUTypes to cloud provider 2019-03-25 13:03:01 -07:00
Pengfei Ni 2b6087e9a1 Revert "Add GetInstanceID interface for cloudprovider"
This reverts commit a9758b2b15.
2019-03-08 10:47:26 +08:00
Pengfei Ni a9758b2b15 Add GetInstanceID interface for cloudprovider 2019-02-27 22:51:30 +08:00
Pengfei Ni 128729bae9 Move schedulercache to package nodeinfo 2019-02-21 12:41:08 +08:00
lsytj0413 8ca0e71d1e refactor(*): fix some golint warning 2018-12-24 11:07:15 +08:00
Kubernetes Prow Robot 9cc6243e7a
Merge pull request #1468 from losipiuk/lukaszos/move-resourcelimiter-to-separate-file-9eee5
Move ResourceLimiter to separate file
2018-12-04 02:18:06 -08:00
Łukasz Osipiuk 8df9cb90b3 Change Error and State constants to match golang convention 2018-12-03 10:22:40 +01:00
Łukasz Osipiuk 1fe54f311b Move ResourceLimiter to separate file 2018-12-03 10:05:28 +01:00
Łukasz Osipiuk 41b02870f8 NodeGroup.Nodes() return Instance struct instead instance name
This is preparatory work for handling resource related
(stockout/quota-exceeded) error conditions in CA.
2018-10-26 14:41:18 +02:00
Łukasz Osipiuk fa2854482b Add HasMinLimitSet and HasMaxLimitSet to methods ResourceLimiter 2018-09-04 14:07:29 +02:00
Aleksandra Malinowska 90b67feff2 Make Create() return newly created node group 2018-08-08 14:56:59 +02:00
Łukasz Osipiuk b7323bc0d1 Respect GPU limits in scale_up 2018-06-14 15:46:58 +02:00
Łukasz Osipiuk 087a5cc9a9 Respect GPU limits in scale_down 2018-06-13 14:19:59 +02:00
Łukasz Osipiuk 1325aa6167 Do not put 0 min limits into map in ResourceLimiter 2018-06-11 14:02:39 +02:00
Łukasz Osipiuk f6d9d3a21f Cleanup ResourceLimiter.String method 2018-06-11 14:02:39 +02:00
Łukasz Osipiuk cbced2cf81 Extend ResouceLimiter with GetResources() method 2018-06-11 14:02:39 +02:00
Pengfei Ni be3dd85503 Update scheduler cache package 2018-06-11 13:54:12 +08:00
MaciekPytel c41dc43704
Merge pull request #495 from aleksandra-malinowska/resource-limiter-bytes
Use bytes instead of MB for memory limits
2018-06-08 14:47:22 +02:00
Joachim Bartosik bfb70e40ee Allow passing taints to Node Group creation. 2018-05-18 14:33:33 +02:00
Aleksandra Malinowska fcc3d004f5 Use bytes instead of MB for memory limits 2018-05-17 17:35:39 +02:00
Marcin Wielgus 04bec08e84 Compilation fix 2018-03-20 20:11:36 +01:00
fanyang e287652a07 some typo 2018-02-07 16:04:07 +08:00
Maciej Pytel b7f8622eb2 Create node groups with GPU in scale-up.go
This is still not implemented in cloudprovider.
Extended NewNodeGroup inteface to have a way of passing
parameters for more complex resources.
2017-12-11 13:12:22 +01:00
mmerrill3 3d043f73cb Renaming the interface function to Cleanup() for CloudProvider type 2017-11-01 12:41:13 -04:00
mmerrill3 77aa30a5c1 Fixing for issue 252 by implementing a channel to stop the go routine 2017-11-01 11:00:00 -04:00
Maciej Pytel 50587992ae Update fetching ResourceLimits from GKE to use GB not MB 2017-10-30 19:02:41 +01:00
Krzysztof Jastrzebski aee8682cb7 Gets resource limits from GKE API. 2017-10-26 14:05:56 +02:00
Maciej Pytel 07511f444a Add Refresh method to cloud provider
This can be used to dynamically update cloud provider
config (in particular list of managed NodeGroups and their
min/max constraints).
Add GKE implementation.
2017-10-24 18:36:29 +02:00
Krzysztof Jastrzebski 56ac572666 Adds resource limits to cloud provider. 2017-10-23 16:06:56 +02:00
Sergey Lanzman 41c7901647 Fix typo GetAvilableMachineTypes() => GetAvailableMachineTypes() 2017-09-04 22:17:17 +03:00
Marcin Wielgus f217d4ac93 Do not return error from exist 2017-09-01 00:24:01 +02:00
Marcin Wielgus b172926b5e NodeGroupCreate for gce cloud provider 2017-08-31 00:48:40 +02:00
Marcin Wielgus ac2c471eb1 NAP interface implementation - part 1 2017-08-25 11:17:50 +02:00
Marcin Wielgus a766f676ba Node Autoprovisioning expansion of CloudProvider api 2017-08-18 15:34:24 +02:00
Marcin Wielgus fc43808149 Godeps bump for CA 2017-07-03 22:05:11 +02:00
Beata Skiba 5f442d6d71 Fix comment in cloud_provider.go 2017-06-29 10:23:26 +02:00
Marcin Wielgus 69c77791a2 Fix error types 2017-06-12 21:26:50 +02:00
Marcin Wielgus bc86bb2676 Pricing model for CA 2017-05-25 11:01:05 +02:00
Yusuke Kuoka 5304e9af21 cluster-autoscaler: Fix typos in comments 2017-05-10 11:22:15 +09:00
Marcin Wielgus e8dd60f858 Add a method to NodeGroup for providing a template NodeInfo 2017-05-09 13:36:37 +02:00
Marcin Wielgus cfc1117a17 Cluster-autoscaler: decrease target size function in cloud provider interface 2017-01-16 15:20:45 +01:00
Marcin Wielgus be796d8218 Cluster-autoscaler: add get nodes function to cloud provider interface 2017-01-04 13:23:57 +01:00
Marcin Wielgus 7b63b6c1f1 Cluster-autoscaler: update code to compile with K8S 1.5 2016-12-13 17:22:57 +01:00
Jan Chaloupka e028312170 Remove "All rights reserved" from all the headers 2016-09-08 13:02:39 +02:00
Marcin Wielgus 50f57321ff Cluster-autoscaler: use cloud provider interface in the code 2016-07-11 16:40:03 +02:00