alibaba-cloud-csi-driver icon indicating copy to clipboard operation
alibaba-cloud-csi-driver copied to clipboard

disk: cleanup old globalmount mounts

Open huww98 opened this issue 1 month ago • 3 comments

What type of PR is this?

/kind bug

What this PR does / why we need it:

These old mountpoints can block volumes cleanup. We do the cleanup at NodeStageVolume, so that the cleanup is performed once the v1.24 kubelet is upgraded and up. Or if no volume is mounted, the cleanup is performed at first volume mount.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

old volume mount path from v1.22 kubelet is automatically cleaned up

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


huww98 avatar Jun 19 '24 03:06 huww98