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

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

XMLWordPrintable

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

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      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
              rhn-support-lperezbe Luis Perez Besa
              Rohit Patil Rohit Patil
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: