kubernetes/pkg/controller/node
k8s-merge-robot 4e8e4a574c Merge pull request #25636 from zhouhaibing089/delnode-fix
Automatic merge from submit-queue

use monotonic now in TestDelNode

Fixes https://github.com/kubernetes/kubernetes/issues/24971.

Briefly, the rate_limited_queue uses a `container/heap` to store values, and use this data structure to ensure we can always fetch the value with the minimum `processAt`. However, in some extreme condition, the continuous call to `time.Now()` would get the same value, which causes some unpredictable order in the queue, this fix uses a monotonic `now()` to avoid that.

@smarterclayton please take a look.
2016-05-25 13:33:31 -07:00
..
cidr_allocator_test.go make podcidr mask size configurable 2016-05-20 20:44:40 +08:00
cidr_allocator.go make podcidr mask size configurable 2016-05-20 20:44:40 +08:00
doc.go adjust package name for pkg/controller directory 2015-10-12 09:51:27 +08:00
nodecontroller_test.go make podcidr mask size configurable 2016-05-20 20:44:40 +08:00
nodecontroller.go Add few log lines to NodeController 2016-05-23 08:49:11 +02:00
rate_limited_queue_test.go Merge pull request #25636 from zhouhaibing089/delnode-fix 2016-05-25 13:33:31 -07:00
rate_limited_queue.go NodeController doesn't evict Pods if no Nodes are Ready 2016-05-17 23:03:21 +02:00