k3s/pkg/controller/volume
Kubernetes Submit Queue 70632276bb Merge pull request #50806 from verult/VolumeNotYetAttached
Automatic merge from submit-queue (batch tested with PRs 50806, 48789, 49922, 49935, 50438)

On AttachDetachController node status update, do not retry when node …

…doesn't exist but keep the node entry in cache.



**What this PR does / why we need it**: An alternative fix for https://github.com/kubernetes/kubernetes/issues/42438 which also fixes #50721.

Instead of removing the node entry entirely from the node status update cache (which prevents the node from ever being updated even when it recovers), here the node status updater does nothing, so that there won't be an update retry until the node is re-added, where the cache entry is set to true.

Will cherry pick to prior versions after this is merged.

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

**Release Note**:
``` release-note
On AttachDetachController node status update, do not retry when node doesn't exist but keep the node entry in cache.
```

/assign @jingxu97 
/cc @saad-ali 
/sig storage
/release-note
2017-08-22 19:45:27 -07:00
..
attachdetach Merge pull request #50806 from verult/VolumeNotYetAttached 2017-08-22 19:45:27 -07:00
events Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
persistentvolume Merge pull request #46458 from jsafrane/mount-prep 2017-08-21 18:11:16 -07:00
OWNERS Merge pull request #43810 from gnufied/add-gnufied-vol-controller 2017-04-03 12:46:25 -07:00