k3s/pkg/controller/volume
Kubernetes Submit Queue 027d0fcfdf
Merge pull request #67062 from cofyc/fix66287
Automatic merge from submit-queue (batch tested with PRs 67062, 67169, 67539, 67504, 66876). 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>.

Double check PVC if not found in syncVolume

**What this PR does / why we need it**:

Double check PVC if not found in syncVolume.
    
If PV is bound by external PV binder (e.g. kube-scheduler), it's possible on heavy load that corresponding PVC is not synced to controller local cache yet.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #66287

**Special notes for your reviewer**:

**Release note**:

```release-note
Double check PVC if not found in syncVolume to prevent reclaiming PV wrongly.
```
2018-08-17 11:58:06 -07:00
..
attachdetach Merge pull request #66666 from bertinatto/metrics_ad_controller 2018-08-15 09:42:06 -07:00
events Changed admission controller to allow volume expansion for all volume plugins 2018-07-27 03:06:48 -04:00
expand Changed admission controller to allow volume expansion for all volume plugins 2018-07-27 03:06:48 -04:00
persistentvolume Double check PVC if not found in syncVolume. 2018-08-16 10:33:28 +08:00
pvcprotection PVC Protection: Wait for Pod delete 2018-08-13 13:57:36 -05:00
pvprotection kubernetes: fix printf format errors 2018-07-11 00:10:15 +03:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00