Commit Graph

102 Commits

Author SHA1 Message Date
Richard Taylor 27794eaead
Grammar correction 2018-10-03 12:45:02 -07:00
Jakub Tużnik 8a7338e6d8 Add the ability to retrieve the original reasons from a PredicateError 2018-09-19 17:31:34 +02:00
Jakub Tużnik 71111da20c Add a scale down status processor, refactor so that there's more scale down info available to it 2018-09-12 14:52:20 +02:00
Łukasz Osipiuk 2c9970fedd Update use of factory.NewConfigFactory after godeps update 2018-09-05 16:41:30 +02:00
Aleksandra Malinowska cd9808185e Report reason why pod didn't trigger scale-up 2018-08-28 14:11:36 +02:00
Aleksandra Malinowska f5690aab96 Make CheckPredicates return predicateError 2018-08-28 14:11:35 +02:00
Pengfei Ni 5fd15fc96b Set enableEquivalenceClassCache for schedulerConfigFactory and fix GPU resource name for unit tests 2018-06-11 15:17:46 +08:00
Pengfei Ni be3dd85503 Update scheduler cache package 2018-06-11 13:54:12 +08:00
Karol Gołąb 34d12a2628 Add missing classifier 2018-05-08 16:25:06 +02:00
Aleksandra Malinowska 7e1353a865 Ignore TPU resource in simulations 2018-04-11 12:26:22 +02:00
Aleksandra Malinowska feb4ad9e14 Add utility for limiting logging 2018-03-22 12:57:22 +01:00
Marcin Wielgus 04bec08e84 Compilation fix 2018-03-20 20:11:36 +01:00
Aleksandra Malinowska 4c594db7f8 Run spellchecker 2018-03-15 15:47:49 +01:00
Wei Li 8a577b33ad Fix typo in code comment 2018-02-07 16:39:50 +08:00
Aleksandra Malinowska f87c1da2cb Use allocatable instead of capacity to calculate node utilization 2017-12-08 12:54:30 +01:00
Marcin Wielgus f8c0e20ad9 Source fix after godep update 2017-11-28 14:01:43 +01:00
Marcin Wielgus 439fd3c9ec
Merge pull request #411 from krzysztof-jastrzebski/priority
Adds priority preemption support to cluster autoscaler.
2017-11-08 09:09:26 +01:00
Edward Tsang 4104a91991 more spelling fixes 2017-11-02 14:21:36 -07:00
Krzysztof Jastrzebski d9c00e5ce1 Adds priority preemption support to cluster autoscaler. 2017-10-23 09:54:56 +02:00
Marcin Wielgus fd6e093a9c Merge pull request #363 from mwielgus/godep-sync-0.7-rc
Godep sync 0.7 rc
2017-09-23 00:00:07 +01:00
Marcin Wielgus e205577cf8 Merge pull request #364 from MaciekPytel/cleanup_findunneeded_logs
Move spammy logs to V(5)
2017-09-22 22:53:58 +01:00
Marcin Wielgus 8f5a0ab7d2 Compilation fix after godeps update 2017-09-22 22:19:50 +01:00
Maciej Pytel 9f7cdb8b56 Remove overriding allocatable in simulations 2017-09-22 22:52:12 +02:00
Maciej Pytel 38f424fb2f Move spammy logs to V(5) 2017-09-22 19:33:09 +02:00
Marcin Wielgus fc599bd08c Merge pull request #310 from krzysztof-jastrzebski/core-test
Core/utils.go unit tests
2017-09-07 17:15:58 +05:30
Krzysztof Jastrzebski 2295d9bcc4 Core/utils.go unit tests 2017-09-07 13:24:12 +02:00
Aleksandra Malinowska 45356edf40 refactor FindNodesToRemove test 2017-09-06 14:39:42 +02:00
Sergey Lanzman 415f53cdea Change from deprecated Core to CoreV1 for kube client 2017-09-04 22:16:21 +03:00
Maciej Pytel 69c5ea03ce Disable MatchInterPodAffinity if there are no pods using affinity 2017-08-30 16:18:31 +02:00
Marcin Wielgus fbf0d6f499 Merge pull request #271 from aleksandra-malinowska/creator-ref
Use OwnerReferences in place of deprecated created by annotation
2017-08-30 04:21:58 +05:30
Aleksandra Malinowska ac0d8388bc use OwnerReferences instead of deprecated created by annotation 2017-08-29 17:26:38 +02:00
Maciej Pytel 281afa7147 precompute predicateMetadata in scale-down 2017-08-29 16:29:45 +02:00
Maciej Pytel fa53e52ed9 Skip node in scale-down if it was recently found unremovable 2017-08-25 17:21:08 +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
Rush Tehrani dc65cd1058 Print pod namespace/name instead of func signature 2017-08-21 14:41:35 -07: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 fd2c1670dd Fix comments in simulator/drain.go 2017-06-22 03:00:36 +02:00
Marcin Wielgus 1bedee5707 Update GODEPS 2017-06-13 14:48:24 +02:00
Marcin Wielgus 69c77791a2 Fix error types 2017-06-12 21:26:50 +02:00
Aleksandra Malinowska 8ca8b24d3d Add allowing eviction of kube-system pods with PDB 2017-06-01 18:24:42 +02:00
Aleksandra Malinowska 0684ceb42b Add checking namespace to matching pods with PDBs 2017-05-31 15:58:37 +02:00
Maciej Pytel 3f8ca51768 Use typed errors in scale down 2017-05-18 14:09:15 +02:00
Maciej Pytel 7f5c7ed3a2 Used typed errors in scale up code
Updated some of the functions called by scale up
to return new errors as required.
2017-05-18 14:09:15 +02:00
Matthew Walter f64a73429a Correct typos for `deamon` -> `daemon` as in `DaemonSet` 2017-05-12 13:27:40 -04:00
Marcin Wielgus 5bc6f88f31 Fix predicate error messages 2017-05-11 21:42:01 +02:00
Marcin Wielgus 81828ec3ff Merge pull request #53 from mumoshu/fix-incorrect-info-message
cluster-autoscaler: Fix an incorrect message when CA failed to find a place for a to-be-removed pod
2017-05-10 11:04:38 +02:00
Yusuke Kuoka 5304e9af21 cluster-autoscaler: Fix typos in comments 2017-05-10 11:22:15 +09:00