• Jan Safranek's avatar
    Fixed cleanup of persistent volumes. · e90de3f9
    Jan Safranek authored
    Kubelet.cleanupOrphanedVolumes() compares list of volumes mounted to a node
    with list of volumes that are required by pods scheduled on the node
    ("scheduled volume").
    
    Both lists should contain real volumes, i.e. when a pod uses
    PersistentVolumeClaim, the list must contain name of the bound volume instead
    of name of the claim.
    e90de3f9
kubelet.go 119 KB