backport "daemonset-eviction-for-empty-nodes" and "daemonset-eviction-for-occupied-nodes" from 1.22 to 1.21 #4830
Labels
area/cluster-autoscaler
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Which component are you using?:
cluster-autoscaler
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
With version 1.22 cluster-autoscaler introduces the possibility to manage the eviction of daemonsets differently :
But in previous versions this is not possible and may cause bugs.
One of these bugs is perfectly described in this issue: #4337
Describe the solution you'd like.:
backport the options
daemonset-eviction-for-empty-nodes
anddaemonset-eviction-for-occupied-nodes
to previous version of cluster-autoscaler ( ≤1.21)Describe any alternative solutions you've considered.:
Additional context.:
In our case, this causes a bug during a downscale if there is a pod on the node that uses a PVC.
because we use an "aws-ebs-csi-driver" daemonset to manage our PVCs and in this case the "aws-ebs-csi-driver" pod is killed before our application pod and so it loses communication with its PVC
The text was updated successfully, but these errors were encountered: