Commit Graph

28 Commits

Author SHA1 Message Date
Marcin Wielgus f8c0e20ad9 Source fix after godep update 2017-11-28 14:01:43 +01:00
Edward Tsang 4104a91991 more spelling fixes 2017-11-02 14:21:36 -07:00
Marcin Wielgus 8f5a0ab7d2 Compilation fix after godeps update 2017-09-22 22:19:50 +01:00
Krzysztof Jastrzebski 2295d9bcc4 Core/utils.go unit tests 2017-09-07 13:24:12 +02:00
Maciej Pytel 69c5ea03ce Disable MatchInterPodAffinity if there are no pods using affinity 2017-08-30 16:18:31 +02:00
Maciej Pytel 281afa7147 precompute predicateMetadata in scale-down 2017-08-29 16:29:45 +02:00
Maciej Pytel fb6ef75d12 Don't create verbose errors in predicates if we ignore them
Turns out all this string formatting is pretty damn expensive.
2017-08-24 15:18:38 +02:00
Maciej Pytel 3eda8641bd Always run PodFitsResources predicate first 2017-08-23 13:11:28 +02:00
Maciej Pytel 552253cb60 Run basic predicates first in every check
Previously CA run predicates in random order, this change makes it
run them starting with relatively cheap and most likely to fail
predicates, to avoid running more complex ones if they're not required.
2017-08-23 12:12:27 +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
Marcin Wielgus 5bc6f88f31 Fix predicate error messages 2017-05-11 21:42:01 +02:00
Maciej Pytel e8440ee15e Fix PVC informer issue 2017-04-24 14:12:27 +02:00
Marcin Wielgus 34eb4973f8 Fix imports in cluster autoscaler after migrating it from contrib 2017-04-18 15:42:04 +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 b57ab3b48a Cluster-autoscaler: add NodeReadyPredicate and allow unready nodes in CA 2017-01-18 15:09:59 +01:00
Marcin Wielgus 7b63b6c1f1 Cluster-autoscaler: update code to compile with K8S 1.5 2016-12-13 17:22:57 +01:00
Marcin Wielgus 2560c686d5 Cluster-autoscaler: allow unschedulable nodes 2016-10-27 12:45:43 +02: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
Marcin Wielgus 63675e3b5e Merge pull request https://github.com/kubernetes/contrib/pull/1048 from fgrzadkowski/better_simulations
cluster-autoscaler: Use all predicates in simulator
2016-05-24 15:05:00 +02:00
Filip Grzadkowski 38f104cc15 Use all predicates in simulator 2016-05-24 13:54:08 +02:00
Piotr Szczesniak fd6b360e28 Added protection againts adding unnecessary nodes 2016-05-23 12:55:23 +02:00
Filip Grzadkowski 2d016e81c3 Fix autoscaler code to work with new godeps. 2016-05-12 21:06:25 +02:00
Marcin Wielgus c78dad0b0d Cluster-autoscaler - check generic predicates 2016-05-04 15:54:56 +02:00