Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-25919

Avoid eviction of CSI driver daemonsets pods from the cluster-autoscaler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.11.z
    • Storage
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-25161. The following is the description of the original issue:

      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"

              rh-ee-mpatlaso Maxim Patlasov
              openshift-crt-jira-prow OpenShift Prow Bot
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: