k3s/pkg/kubelet/volumemanager/populator
Jing Xu 31a70b8598 Fix race condition between actual and desired state in kublet volume manager
This PR fixes the issue #75345. This fix modified the checking volume in
actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state.
For the case of mounting fails always, it can still work because the
check also validate whether pod still exist in pod manager. In case of
mount fails, pod should be able to removed from pod manager so that
volume can also be removed from desired state.
2019-04-23 19:22:59 -07:00
..
BUILD drop VerifyFeatureGatesUnchanged 2018-11-21 11:51:33 -05:00
desired_state_of_world_populator.go Fix race condition between actual and desired state in kublet volume manager 2019-04-23 19:22:59 -07:00
desired_state_of_world_populator_test.go Fix race condition between actual and desired state in kublet volume manager 2019-04-23 19:22:59 -07:00