k3s/pkg/controller/node
Kubernetes Submit Queue 6e25117891 Merge pull request #32655 from dshulyak/fix_node_fake_update
Automatic merge from submit-queue

Fix FakeNodeHandler Update behaviour

Two problems:
1. Get is always using Existing nodes slice, and you will for sure miss any updated data
2. Each Update adds a duplicate node entry to UpdatedNodes slice

For the 1st, we will try to find a node in UpdatedNodes slice (same as for the List).
2nd - append only if there is no node with same name as updated, if there is we will replace object in UpdatedNodes slice.
2016-09-22 07:43:18 -07:00
..
cidr_allocator.go Retry assigning CIDRs 2016-07-18 17:06:04 +02:00
cidr_allocator_test.go List all nodes and occupy cidr map before starting allocations 2016-07-16 13:54:01 -07:00
cidr_set.go Retry assigning CIDRs 2016-07-18 17:06:04 +02:00
cidr_set_test.go Run goimports 2016-08-02 15:12:39 +03:00
controller_utils.go Merge pull request #30624 from derekwaynecarr/node-controller-fix 2016-08-19 14:33:54 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
nodecontroller.go move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
nodecontroller_test.go Merge pull request #30138 from gmarek/flags 2016-08-18 00:41:28 -07:00
rate_limited_queue.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
rate_limited_queue_test.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
test_utils.go Fix FakeNodeHandler Update behaviour 2016-09-14 12:34:37 +03:00