• Jan Safranek's avatar
    Delete provisioned volumes without claim. · 60883692
    Jan Safranek authored
    There is a race in dynamic provisioning:
    
    1. User creates a claim to dynamically provision a volume.
    2. Kubernetes start provisioning the volume.
    3. User deletes the claim before 2. is finished.
    4. Kubernetes finished provisioning the volume.
    
    The volume is in Pending state. This volume should be deleted instead of
    moving to Available state.
    60883692
persistentvolume_claim_binder_controller.go 19.4 KB