• Jing Xu's avatar
    Add sync state loop in master's volume reconciler · abbde433
    Jing Xu authored
    At master volume reconciler, the information about which volumes are
    attached to nodes is cached in actual state of world. However, this
    information might be out of date in case that node is terminated (volume
    is detached automatically). In this situation, reconciler assume volume
    is still attached and will not issue attach operation when node comes
    back. Pods created on those nodes will fail to mount.
    
    This PR adds the logic to periodically sync up the truth for attached volumes kept in the actual state cache. If the volume is no longer attached to the node, the actual state will be updated to reflect the truth. In turn, reconciler will take actions if needed.
    
    To avoid issuing many concurrent operations on cloud provider, this PR
    tries to add batch operation to check whether a list of volumes are
    attached to the node instead of one request per volume.
    
    More details are explained in PR #33760
    abbde433
Name
Last commit
Last update
..
providers Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
cloud.go Loading commit data...
doc.go Loading commit data...
plugins.go Loading commit data...