Uploaded image for project: 'OpenShift Container Platform (OCP) Strategy'
  1. OpenShift Container Platform (OCP) Strategy
  2. OCPSTRAT-2345

Enforce Pod Ephemeral Storage Limits Based on Actual Disk Usage (Including Unlinked Files)

XMLWordPrintable

    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Feature Overview (aka. Goal Summary)  

      In OpenShift , ephemeral storage usage by pods is enforced through limits and quotas. However, current kubelet enforcement mechanisms rely on internal accounting (podStats.EphemeralStorage.UsedBytes) that does not account for unlinked files still held open by a process—a behavior compliant with POSIX.

      This results in scenarios where a pod appears to be within its ephemeral storage limit but is, in reality, consuming significant disk space on the node. Such discrepancies between df and du readings can cause node-level disk pressure and mass eviction of unrelated pods, severely impacting production workloads.

      This feature aims to enhance ephemeral storage enforcement in OpenShift by aligning actual node disk usage with pod limits—even when open file descriptors to deleted files exist.

              Unassigned Unassigned
              gausingh@redhat.com Gaurav Singh
              None
              None
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: