• Kubernetes Submit Queue's avatar
    Merge pull request #34859 from jingxu97/syncAttach-10-15 · 3e7172d4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add sync state loop in master's volume reconciler
    
    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.
    3e7172d4
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build-tools Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
BUILD Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...