Commit Graph

25 Commits

Author SHA1 Message Date
Łukasz Osipiuk 4386c9e1c3 Rename PDBS.PodDisruptionsAllowed to DisruptionsAllowed
Change-Id: Id041f1f64974aa256b17f28bc890e97dcc6ca4c2
2020-01-20 21:08:50 +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
Pengfei Ni 128729bae9 Move schedulercache to package nodeinfo 2019-02-21 12:41:08 +08:00
Maciej Pytel 9060014992 Use listers in scale-down 2018-12-31 14:55:38 +01:00
Richard Taylor 27794eaead
Grammar correction 2018-10-03 12:45:02 -07: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
Edward Tsang 4104a91991 more spelling fixes 2017-11-02 14:21:36 -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
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
Marcin Wielgus 34eb4973f8 Fix imports in cluster autoscaler after migrating it from contrib 2017-04-18 15:42:04 +02:00
Marcin Wielgus 5b4441083a Cluster-autoscaler: include PodDisruptionBudget in drain - part 1/2 2017-03-06 17:15:04 +01:00
Marcin Wielgus 89a370de1a Cluster-autoscaler: expand half-deleted pod skip logic in drain 2017-02-23 16:43:32 +01:00
Marcin Wielgus ce45c33d29 Cluster-autoscaler: update CA code for godep refresh 2017-01-20 14:46:34 +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 df078c9101 Cluster-autoscaler: own drain 2016-10-27 16:58:59 +02:00
Jan Chaloupka e028312170 Remove "All rights reserved" from all the headers 2016-09-08 13:02:39 +02:00
Piotr Szczesniak 7832013a3f [ca] Factored out common functions in drain logic 2016-08-11 10:09:24 +02:00
Filip Grzadkowski ca15ccd27a Don't delete nodes with pods with local storage 2016-06-10 13:34:02 +02:00
Marcin Wielgus 084e0ec0c5 Cluster-autoscaler: do not delete nodes with kube-system, not-mirrored, not-daemon set pods 2016-05-24 12:34:59 +02:00
Marcin Wielgus 945bb7de3a Cluster-autoscaler: do full scheduling check in calculating node utilization in scale-down 2016-05-23 14:40:29 +02:00
Marcin Wielgus 1b5a86b043 Cluster-autoscaler: Fast drain impl that doesn't talk to api server 2016-05-23 09:44:16 +02:00