k3s/pkg/controller
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
..
bootstrap Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
certificates Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
cloud Proposal to add @wlan0 to appropriate owner files 2017-08-17 11:37:51 -07:00
cronjob Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
daemon Merge pull request #50146 from gmarek/deepcopyinto 2017-08-19 11:28:15 -07:00
deployment CollisionCount should have type int32 across controllers that use it for collision avoidance 2017-08-18 10:48:12 +08:00
disruption Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
endpoint Fix unready endpoints bug introduced in #50934 2017-08-22 13:46:11 -06:00
garbagecollector move retry to client-go 2017-08-14 14:16:26 -07:00
history Use CollisionCount for collision avoidance in StatefulSet controller 2017-08-18 06:49:02 -07:00
job Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
namespace Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
node remove useless comments in node_controller.go 2017-08-14 14:16:42 +08:00
podautoscaler Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
podgc Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
replicaset Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
replication Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
resourcequota Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
route Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
service Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
serviceaccount Add enj as reviewer to OWNERS 2017-08-17 20:42:46 -04:00
statefulset StatefulSet controller no longer attempts to mutate v1.PodSpec.Hostname or v1.PodSpec.Subdomain 2017-08-21 13:08:31 -07:00
testutil Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
ttl Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
volume Merge pull request #50806 from verult/VolumeNotYetAttached 2017-08-22 19:45:27 -07:00
.import-restrictions
BUILD move retry to client-go 2017-08-14 14:16:26 -07:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
client_builder.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
controller_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10:00
controller_ref_manager_test.go Merge pull request #50353 from zhangxiaoyu-zidif/Delete-redundant-expectError-for-controller-ref-test 2017-08-12 00:00:55 -07:00
controller_utils.go Merge pull request #50146 from gmarek/deepcopyinto 2017-08-19 11:28:15 -07:00
controller_utils_test.go CollisionCount should have type int32 across controllers that use it for collision avoidance 2017-08-18 10:48:12 +08:00
doc.go
lookup_cache.go