Uploaded image for project: 'OpenShift Node'
  1. OpenShift Node
  2. OCPNODE-1290

Split case (with RUN fix)

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • Split case (with RUN fix)
    • False
    • None
    • False
    • Not Selected
    • To Do
    • OCPSTRAT-188 - Split filesystem and make each partition first class citizen for kubelet
    • OCPSTRAT-188Split filesystem and make each partition first class citizen for kubelet
    • 60% To Do, 20% In Progress, 20% Done
    • M

      • /var/lib/container is moved to a different disk sda1.
      • Ephemeral storage stays with /var/lib/kubelet
      • This is achieved by crio creating the writable layer for containers on the first disk when configured with a separate disk for /var/lib/container, instead of under the default /var/lib/containers which is on the second disk.
      • Only sda0 hosting /var/lib/kubelet is considered for disk usage accounting, capacity and eviction calculations
      • Since rootfs and ephemeral storage are on sda0, that is okay.
      • One problem here is the image GC will look at sda0 filling-up and try to clean-up sda1 in order to free-up space. Obviously, this will not work.
      • Mitigation is to make it read-only ( no writable layer by default), so, writable layer is not used by accident.

      Benefits 

      1. Saving space on root by separating read only layer on sda1 it will free up space of images in sda0 (root)
      2. I/O throttling : having multiple disk can improve I/O

            mpatel1@redhat.com Mrunal Patel
            gausingh@redhat.com Gaurav Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: