Marwan Ahmed
286f44e351
fix pod equivalency checks for pods with projected volumes
2021-12-21 17:02:30 +02:00
Brett Elliott
3b48a3193f
Set cluster autoscaler-specific user agent.
...
Refactored mocks to remove redundancy.
2021-04-06 17:49:35 +02:00
Vivek Bagade
8c592f0c04
Fix bug where a node that becomes ready after 2 mins can be
...
treated as unready. Deprecated LongNotStarted
In cases where node n1 would:
1) Be created at t=0min
2) Ready condition is true at t=2.5min
3) Not ready taint is removed at t=3min
the ready node is counted as unready
Tested cases after fix:
1) Case described above
2) Nodes not starting even after 15mins still
treated as unready
3) Nodes created long ago that suddenly become unready are
counted as unready.
2021-03-11 18:32:51 +01:00
Jason DeTiberus
0d8a4f9f97
Check content-type on response
2020-11-09 11:57:39 -05:00
Jayant Jain
d987394c55
review fixes.
...
added explicit ignoring for write func
2020-10-01 14:35:43 +00:00
Jayant Jain
ccd405e80a
lint fix
2020-10-01 12:29:16 +00:00
Jayant Jain
a632d33b9a
added a new NodeGroupDoesNotExistError in errors.go
...
This is to support no nodepool exists conditions, which crashes Autoscaler
2020-10-01 12:21:08 +00:00
Łukasz Osipiuk
d7770e3044
Use ClusterSnapshot in ScaleDown
2020-02-04 20:51:48 +01:00
Łukasz Osipiuk
1469058470
Get rid of removed testapis
2020-02-04 20:51:03 +01:00
Łukasz Osipiuk
90a7e47123
Add GPU taint toleration for test pods requiring GPUs
2020-01-03 11:22:21 +01:00
Łukasz Osipiuk
1b6c75f4f9
Set StartTime in Pod objects used in tests
2019-11-22 14:08:09 +01:00
Łukasz Osipiuk
a849ead286
Precompute inter pod equivalence groups in checkPodsSchedulableOnNode
2019-05-29 18:05:52 +02:00
Jiaxin Shan
83ae66cebc
Consider GPU utilization in scaling down
2019-04-04 01:12:51 -07:00
Aleksandra Malinowska
364e2da764
Check for ready condition not true
2018-08-30 13:43:24 +02:00
Łukasz Osipiuk
c406da4174
Support gpus in nodes and pods definitions in UT
2018-05-15 22:43:31 +02:00
Marcin Wielgus
f8c0e20ad9
Source fix after godep update
2017-11-28 14:01:43 +01:00
Maciej Pytel
ff21b0b00c
Keep track of nodes that failed to register for a long time
...
Previously a node that failed to register and couldn't be deleted
basically broke CA.
2017-09-27 16:32:04 +02:00
Krzysztof Jastrzebski
6b8b8b8fe1
Cloudprovider/gce/gce_manager.go unit tests.
2017-09-19 11:16:08 +02:00
Aleksandra Malinowska
ac0d8388bc
use OwnerReferences instead of deprecated created by annotation
2017-08-29 17:26:38 +02:00
Marcin Wielgus
9116e4c08c
Compilation fix for CA after godeps update
2017-08-11 17:56:47 +02:00
Marcin Wielgus
fc43808149
Godeps bump for CA
2017-07-03 22:05:11 +02:00
Marcin Wielgus
1bedee5707
Update GODEPS
2017-06-13 14:48:24 +02:00
Maciej Pytel
849b3a2712
Function to compare nodeinfos to find similar nodegroups
2017-05-31 13:21:27 +02:00
Marcin Wielgus
80bf191f02
GCE pricing model
2017-05-26 17:37:32 +02:00
Maciej Pytel
6b2ea76973
Added UT for CA simulator
2017-04-19 19:12:30 +02:00
Marcin Wielgus
2ffaddb7c0
Cluster-autoscaler: lint
2017-03-02 15:15:07 +01:00
Marcin Wielgus
72a47dc2b2
Cluster-autoscaler: update code for 1.6 k8s sync
2017-03-02 14:34:49 +01:00
Marcin Wielgus
ce45c33d29
Cluster-autoscaler: update CA code for godep refresh
2017-01-20 14:46:34 +01:00
Marcin Wielgus
949cf37465
Cluster-autoscaler: support unready nodes in scale down
2017-01-03 14:17:59 +01:00
Marcin Wielgus
5b3f67d9e1
Cluster-autoscaler: add self link to BuildTestPod/Node functions
2016-12-23 23:43:56 +01:00
Marcin Wielgus
befd959c0e
Cluster autoscaler: more unit tests for scale down
2016-12-22 19:48:16 +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
Piotr Szczesniak
bdb8987db6
Implemented unit test for FilterOutSchedulable function
2016-05-24 20:06:29 +02:00