Commit Graph

4 Commits

Author SHA1 Message Date
Piotr Betkier ac1c7b5463 use k8s.io/component-helpers/resource for pod request calculations 2025-04-22 17:36:17 +02:00
Artem Minyaylov 125e9c10dc Convert replicated, system, not-safe-to-evict, and local storage pods to drainability rules 2023-10-10 20:35:49 +00:00
Bartłomiej Wróblewski c3d8e81b98 Don't add pods from drained nodes in scale-down 2022-12-09 16:26:54 +00: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