• Kubernetes Submit Queue's avatar
    Merge pull request #58177 from jingxu97/Jan/reconstruct · d6625f85
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Redesign and implement volume reconstruction work
    
    This PR is the first part of redesign of volume reconstruction work. The detailed design information is https://github.com/kubernetes/community/pull/1601
    
    The changes include
    1. Remove dependency on volume spec stored in actual state for volume
    cleanup process (UnmountVolume and UnmountDevice)
    
    Modify AttachedVolume struct to add DeviceMountPath so that volume
    unmount operation can use this information instead of constructing from
    volume spec
    
    2. Modify reconciler's volume reconstruction process (syncState). Currently workflow
    is when kubelet restarts, syncState() is only called once before
    reconciler starts its loop.
    a. If volume plugin supports reconstruction, it will use the
    reconstructed volume spec information to update actual state as before.
    b. If volume plugin cannot support reconstruction, it will use the
    scanned mount path information to clean up the mounts.
    
    In this PR, all the plugins still support reconstruction (except
    glusterfs), so reconstruction of some plugins will still have issues.
    The next PR will modify those plugins that cannot support reconstruction
    well.
    
    This PR addresses issue #52683
    d6625f85
Name
Last commit
Last update
..
async Loading commit data...
bandwidth Loading commit data...
config Loading commit data...
configz Loading commit data...
dbus Loading commit data...
ebtables Loading commit data...
env Loading commit data...
file Loading commit data...
filesystem Loading commit data...
flock Loading commit data...
goroutinemap Loading commit data...
hash Loading commit data...
initsystem Loading commit data...
interrupt Loading commit data...
io Loading commit data...
ipconfig Loading commit data...
ipset Loading commit data...
iptables Loading commit data...
ipvs Loading commit data...
keymutex Loading commit data...
labels Loading commit data...
limitwriter Loading commit data...
maps Loading commit data...
metrics Loading commit data...
mount Loading commit data...
net Loading commit data...
netsh Loading commit data...
node Loading commit data...
normalizer Loading commit data...
nsenter Loading commit data...
oom Loading commit data...
parsers Loading commit data...
pointer Loading commit data...
procfs Loading commit data...
reflector/prometheus Loading commit data...
removeall Loading commit data...
resizefs Loading commit data...
resourcecontainer Loading commit data...
rlimit Loading commit data...
selinux Loading commit data...
slice Loading commit data...
strings Loading commit data...
sysctl Loading commit data...
system Loading commit data...
tail Loading commit data...
taints Loading commit data...
template Loading commit data...
term Loading commit data...
threading Loading commit data...
tolerations Loading commit data...
version Loading commit data...
workqueue/prometheus Loading commit data...
BUILD Loading commit data...
verify-util-pkg.sh Loading commit data...