k3s/pkg/volume/nfs
Jan Safranek 0ee9160f88 volume recycler: Don't start a new recycler pod if one already exists.
Recycling is a long duration process and when the recycler controller is
restarted in the meantime, it should not start a new recycler pod if there is
one already running.

This means that the recycler pod must have deterministic name based on name
of the recycled PV, we then get name conflicts when creating the pod.

Two things need to be changed:
- recycler controller and recycler plugins must pass the PV.Name to place,
  where the pod is created.

- create recycler pod with deterministic name and check "already exists" error.

When at it, remove useless 'resourceVersion' argument and make log messages
starting with lowercase.
2016-05-19 12:58:25 +02:00
..
OWNERS add maintainers for each volume driver 2016-03-22 22:19:53 -07:00
doc.go Add doc.go files for all volume plugins 2015-05-23 16:59:12 -04:00
nfs.go volume recycler: Don't start a new recycler pod if one already exists. 2016-05-19 12:58:25 +02:00
nfs_test.go volume recycler: Don't start a new recycler pod if one already exists. 2016-05-19 12:58:25 +02:00