This is a clone of issue OCPBUGS-23306. The following is the description of the original issue:
—
Related with https://issues.redhat.com/browse/OCPBUGS-23000
Cluster-autoscaler by default evict all those pods -including those coming from daemon sets- In the case of EFS-CSI drivers, which are mounted as nfs volumes, this is causing nfs stale and that application worloads are not terminated gracefully.
Version-Release number of selected component (if applicable):
4.11
How reproducible:
- While scaling down a node from the cluster-autoscaler-operator, the DS pods are beeing evicted.
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
CSI pods might not be evicted by the cluster autoscaler (at least prior to workloads termination) as it might produce data corruption
Additional info:
Is possible to disable csi pods eviction adding the following annotation label on the csi driver pod cluster-autoscaler.kubernetes.io/enable-ds-eviction: "false"
- clones
-
OCPBUGS-23306 Avoid eviction of CSI driver daemonsets pods from the cluster-autoscaler
- Closed
- is blocked by
-
OCPBUGS-25161 Avoid eviction of CSI driver daemonsets pods from the cluster-autoscaler
- Closed
- links to
-
RHBA-2024:1046 OpenShift Container Platform 4.14.z bug fix update
(11 links to)