deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
deads2k
c47717134b
move utils used in restclient to client-go
2017-01-19 07:55:14 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
gmarek
c40a36cab0
Change the eviction metric type and fix rate-limited-timed-queue
2016-09-08 12:20:51 +02:00
AdoHe
b2ab4c6d9b
fix node controller event uid issue
2016-08-14 09:41:20 +08:00
gmarek
f6b1c316e9
Allow switching rate limiter inside RateLimitedQueue
2016-07-14 15:38:14 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
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
gmarek
6d27009db1
NodeController doesn't evict Pods if no Nodes are Ready
2016-05-17 23:03:21 +02:00
zhouhaibing089
af3e2357ea
use monotonic now in TestDelNode
2016-05-15 10:58:29 +08:00
Clayton Coleman
08f136b8d9
RateLimitedQueue TestTryOrdering could fail under load
...
Remove the possibility of contention in the test by providing a
synthetic Now() function.
2016-04-24 20:03:04 -04:00
harry
8472cfa214
Refactor throttle into util pkg
...
Fix missing throttle.go
2016-03-25 08:32:23 +08:00
gmarek
6b2507485f
Add FakeNeverRateLimitter
2016-02-08 11:06:25 +01:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
gmarek
a3723e2045
Separate deletion and termination evictors in NodeController, and fix rate_limited_queue.go
2015-09-30 09:42:01 +02:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
gmarek
98b954c74c
Add a mutex to assure atomicity of reat_limited queue operations and remove 'leaky' version of it
2015-09-07 15:04:59 +02:00
Clayton Coleman
940cc2837c
Review comments
2015-08-25 14:18:07 -03:00
Clayton Coleman
8a62f1828d
Evict terminating pods
2015-08-25 14:17:39 -03:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman
edb108802d
Handle gracefully terminated pods in node controller
...
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00