• 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
..
admission Loading commit data...
api Loading commit data...
apimachinery Loading commit data...
apis Loading commit data...
apiserver Loading commit data...
auth Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
conversion Loading commit data...
credentialprovider Loading commit data...
dns Loading commit data...
fieldpath Loading commit data...
fields Loading commit data...
generated Loading commit data...
genericapiserver Loading commit data...
healthz Loading commit data...
httplog Loading commit data...
hyperkube Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
labels Loading commit data...
master Loading commit data...
metrics Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
routes Loading commit data...
runtime Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
selection Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
storage Loading commit data...
types Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch Loading commit data...
OWNERS Loading commit data...