Commit Graph

33 Commits

Author SHA1 Message Date
Jakub Tużnik 7a188ab50d Provide ScaleDownStatusProcessor with info about unremovable nodes 2020-02-11 15:27:33 +01:00
Łukasz Osipiuk 0dca11fa11 Remove InitializeClusterSnapshotNoError function 2020-02-04 20:52:02 +01:00
Łukasz Osipiuk d7770e3044 Use ClusterSnapshot in ScaleDown 2020-02-04 20:51:48 +01:00
Łukasz Osipiuk db85b1b6f1 Implement NewTestPredicateChecker 2020-02-04 20:51:20 +01:00
Łukasz Osipiuk 90a7e47123 Add GPU taint toleration for test pods requiring GPUs 2020-01-03 11:22:21 +01:00
cedric lamoriniere f0fbf7a87a [cluster-autoscaler] Allow “custom” DaemonSet pods
* Create `utils/pod` package: pod kind detection functions.
* Update DaemonSet Pod detection logic: introduce the annotation
  `cluster-autoscaler.kubernetes.io/daemonset-pod` to declare a Pod as a
  DaemonSet Pod.
* Update `simulator` package to use the new `utils/pod` package function.
* Cleanup `getRequiredPodsForNode()` function.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-11-06 11:23:23 +01:00
Jiaxin Shan 83ae66cebc Consider GPU utilization in scaling down 2019-04-04 01:12:51 -07:00
Pengfei Ni 128729bae9 Move schedulercache to package nodeinfo 2019-02-21 12:41:08 +08:00
Alex Price 4ae7acbacc add flags to ignore daemonsets and mirror pods when calculating resource utilization of a node
Adds the flag --ignore-daemonsets-utilization and --ignore-mirror-pods-utilization
(defaults to false) and when enabled, factors DaemonSet and mirror pods out when
calculating the resource utilization of a node.
2018-11-23 15:24:25 +11: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
Pengfei Ni be3dd85503 Update scheduler cache package 2018-06-11 13:54:12 +08:00
Marcin Wielgus 04bec08e84 Compilation fix 2018-03-20 20:11:36 +01:00
Aleksandra Malinowska 45356edf40 refactor FindNodesToRemove test 2017-09-06 14:39:42 +02:00
Aleksandra Malinowska ac0d8388bc use OwnerReferences instead of deprecated created by annotation 2017-08-29 17:26:38 +02:00
Maciej Pytel fa53e52ed9 Skip node in scale-down if it was recently found unremovable 2017-08-25 17:21:08 +02:00
Marcin Wielgus fc43808149 Godeps bump for CA 2017-07-03 22:05:11 +02:00
Maciej Pytel 6b2ea76973 Added UT for CA simulator 2017-04-19 19:12:30 +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 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 1cea91895d Cluster-autoscaler: delete empty nodes in bulk 2016-11-07 15:52:35 +01:00
Jan Chaloupka e028312170 Remove "All rights reserved" from all the headers 2016-09-08 13:02:39 +02:00
Marcin Wielgus 40b6e43dbe Cluster-autoscaler: shuffle nodes in scale down 2016-07-20 16:57:01 +02:00
Marcin Wielgus b29f771e0d Cluster-autoscaler: use node usage tracker for better utilization resets 2016-07-15 12:09:52 +02:00
Marcin Wielgus 6c74123879 Cluster-autoscaler: pod relocation hints 2016-07-14 11:45:03 +02:00
Filip Grzadkowski e7f1af7437 Rename reservation to utilization 2016-06-09 19:10:13 +02:00
Piotr Szczesniak bdb8987db6 Implemented unit test for FilterOutSchedulable function 2016-05-24 20:06:29 +02:00
Filip Grzadkowski 38f104cc15 Use all predicates in simulator 2016-05-24 13:54:08 +02:00
Marcin Wielgus d6c4c1001c Cluster-autoscaler: PredicateChecker and better nodeInfo handling for ScaleDown 2016-05-18 14:05:56 +02:00
Marcin Wielgus 34dbaa7a06 Cluster-autoscaler: ScaleUp and ScaleDown integration 2016-05-18 12:41:16 +02:00
Piotr Szczesniak 04a4810043 Use all resources to compute node reservation 2016-05-13 15:56:01 +02:00
Filip Grzadkowski 2d016e81c3 Fix autoscaler code to work with new godeps. 2016-05-12 21:06:25 +02:00
Marcin Wielgus 2caae1647a Cluster-autoscaler scale down impl 2016-05-10 14:33:29 +02:00