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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Undefined
    • 4.15.0
    • 4.11.z
    • Storage
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • NA
    • Release Note Not Required
    • In Progress

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

              rh-ee-mpatlaso Maxim Patlasov
              openshift-crt-jira-prow OpenShift Prow Bot
              Rohit Patil Rohit Patil
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: