mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 61203, 61071). 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>. Fix issue with race condition during pod deletion This PR fixes two issues 1. When desired_state_populator removes podvolume state, it should check whether the actual state already has the volume before deleting it to make sure actual state has a chance to add the volume into the state 2. When checking podVolume still exists, it not only checks the actual state, but also the volume disk directory because actual state might not reflect the real world when kubelet starts. fixes issue #60645 |
||
---|---|---|
.. | ||
BUILD | ||
reconciler.go | ||
reconciler_test.go |