kubernetes/test
Kubernetes Submit Queue 5cecc6ec68
Merge pull request #59350 from jsafrane/recycler-wait
Automatic merge from submit-queue. 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>.

Do not recycle volumes that are used by pods

**What this PR does / why we need it**:
Recycler should wait until all pods that use a volume are finished.

Consider this scenario:

1. User creates a PVC that's bound to a NFS PV.
2. User creates a pod that uses the PVC
3. User deletes the PVC.

Now the PV gets `Released` (the PVC does not exists) and recycled, however the PV is still mounted to a running pod. PVC protection won't help us, because it puts finalizers on PVC that is under user's control and user can remove it.

This PR checks that there is no pod that uses a PV before it recycles it.

**Release note**:

```release-note
NONE
```

/sig storage
2018-02-07 10:01:32 -08:00
..
conformance Create Conformance document to display all tests that belong to Conformance suite 2018-01-15 14:17:48 -08:00
e2e Enable HPA tests on large clusters 2018-02-07 10:14:51 +01:00
e2e_node remove a todo which is out of date 2018-02-07 09:31:15 +08:00
fixtures Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
images Update tests to use the hostexec:1.1 image 2018-01-30 17:31:52 -08:00
integration Merge pull request #59350 from jsafrane/recycler-wait 2018-02-07 10:01:32 -08:00
kubemark Update etcd server version to 3.2.13 2018-02-02 17:25:13 -08:00
list Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
soak Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
utils Merge pull request #58184 from yguo0905/hostexec 2018-02-05 13:15:33 -08:00
BUILD Add conformance test regression test. 2017-10-27 15:31:20 -07:00
OWNERS fabiano no longer a thing 2017-12-19 16:37:12 -02:00
test_owners.csv kubelet: remove the rktshim directory 2018-01-26 18:03:34 -08:00
test_owners.json Remove all traces of federation 2017-10-26 13:37:37 -07:00