-
Notifications
You must be signed in to change notification settings - Fork 38.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated cherry pick of #64882: Fix UnmountDevice with deleted pod. #65323: Fix cleanup of volume metadata json file. #65529
Conversation
When a pod is deleted, kubelet can't read VolumeAttachment objects. It should cache all information in a json file.
Create the json file with metadata as the last item, when everything else is ready, so we don't need to clean up the file in all error cases in this function.
/assign @saad-ali @vladimirvivien |
bc09196
to
d0e4db5
Compare
/LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, vladimirvivien The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test all Tests are more than 96 hours old. Re-running tests. |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
Cherry pick of #64882 #65323 on release-1.10.
#64882: Fix UnmountDevice with deleted pod.
#65323: Fix cleanup of volume metadata json file.