Commit Graph

148 Commits (def802272904c04f0f3f736c8616bc68fb1edf8f)

Author SHA1 Message Date
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
k8s-merge-robot 8a8639d7af Merge pull request #17863 from wojtek-t/only_list_options_in_watch
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Wojciech Tyczynski d2dfc912e6 Simplify Watch() signature in clients. 2015-12-01 14:19:26 +01:00
Weixu Zhuang c7756ce8d5 Enqueue DaemonSet only it has new or updated nodes in it.
When add node or update node func is called, all DaemonSets are enqueued to workqueue
of DaemonSet Controller. The consumer of the workqueue does an iteration of node.List
for every DaemonSet in the workqueue.

This change examinate the daemonSet before we enqueue it into DaemonSetController's work queue.
It will enqueue the DaemonSet only when it is related to the changed node.
2015-11-30 11:51:43 -08:00
Wojciech Tyczynski b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
k8s-merge-robot 4fd6b6df06 Merge pull request #17316 from deads2k/gv-ClientForVersion
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
deads2k a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Mike Danese a6fb172818 extract shouldRun predicate to a function in daemonset controller 2015-11-18 16:44:41 -08:00
Mike Danese f674109502 daemonset shouldn't place onto unschedulable nodes 2015-11-16 10:17:40 -08:00
Mike Danese 7a7f31ead1 move daemonset to generalized label selector 2015-11-13 10:31:50 -08:00
mqliang f26d437903 move assignment in loop 2015-11-04 15:42:25 +08:00
David Oppenheimer 899ddc66eb Merge pull request #16478 from mikedanese/ds-nodeready
daemonset don't place pods on notready nodes
2015-10-30 01:07:28 -07:00
k8s-merge-robot 1ecda94f0a Merge pull request #15305 from mqliang/deamonSetList
Auto commit by PR queue bot
2015-10-29 11:25:52 -07:00
Mike Danese f237db81f0 daemonset don't place pods on notready nodes 2015-10-29 11:11:20 -07:00
Jerzy Szczepkowski 5ef087adab Merge pull request #16266 from wojtek-t/fix_handshake_reflector
Reuse TCP connections in Reflector between resync periods.
2015-10-27 10:36:18 +01:00
k8s-merge-robot df265b2d6e Merge pull request #15510 from aveshagarwal/master-selflink-objref
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
Wojciech Tyczynski d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
Wojciech Tyczynski f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
mqliang 163860797d move assignment statement out of loop 2015-10-20 20:02:45 +08:00
mqliang 45269bef8f return api.DaemonSetList, instead of an array 2015-10-15 14:49:52 +08:00
Wojciech Tyczynski 647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
Chao Xu 493d2b6920 grep sed Experimental() 2015-10-13 13:22:54 -07:00
Avesh Agarwal 8e4a8b7260 Addresses issue #6596.
Removes ForTesting_ReferencesAllowBlankSelfLinks.
Fixes controller's persistentvolumes unit tests.
2015-10-12 19:21:48 -04:00
Chao Xu 7c9f4cc42f experimental. -> extensions. 2015-10-09 15:49:10 -07:00
Chao Xu f3caff2a79 testapi.Experimental -> testapi.Extensions 2015-10-09 15:15:35 -07:00
Chao Xu 67f316dd19 apis/experimental->apis/extensions 2015-10-09 15:04:41 -07:00
k8s-merge-robot 8982776b54 Merge pull request #15237 from mikedanese/ds-bug-3
Auto commit by PR queue bot
2015-10-08 10:50:59 -07:00
Piotr Szczesniak 952a058357 Merge pull request #15153 from wojtek-t/common_resync_period
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Wojciech Tyczynski df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
Mike Danese e5fe0c0c6e revise meaning of DaemonsSpecStatus.CurrentNumberScheduled 2015-10-07 14:29:34 -07:00
Mike Danese 591d7c42a4 Merge pull request #15198 from mikedanese/ds-bug-2
include name match in mischeduled check in daemonset controller
2015-10-07 13:54:42 -07:00
k8s-merge-robot eea83ee930 Merge pull request #14722 from mqliang/pod-sort
Auto commit by PR queue bot
2015-10-06 23:32:03 -07:00
Mike Danese d601bfa1bb fix bug in daemonset 2015-10-06 18:18:18 -07:00
Mike Danese 5a441d4ad1 include name match in mischeduled check in daemonset controller 2015-10-06 17:01:54 -07:00
hzliangmingqiang b1412997d6 Sort the daemon pods by creation time 2015-10-06 14:09:42 +08:00
David Oppenheimer 723cb73057 Address reviewer comments. 2015-10-03 23:30:46 -07:00
David Oppenheimer 29dd7e3bb8 Fix race condition in DaemonSet controller. Fixes #14693. 2015-10-01 02:17:52 -07:00
Brian Grant e3abcf7198 Merge pull request #14535 from derekwaynecarr/daemon_sets_status
DaemonSets adds a Status subresource
2015-09-25 13:30:55 -07:00
derekwaynecarr aead9d3291 DaemonSets adds a Status subresource 2015-09-25 12:13:54 -04:00
Mike Danese 824768d604 consolidate a bunch of FakePodControl testclients into a shared one 2015-09-24 23:21:20 -07:00
Chao Xu ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune a224eec4dc Reduce verbosity of DaemonSet controller. 2015-09-21 15:45:38 -07:00
Mike Danese 144d72ca7b fix incorrect log statement in daemon controller 2015-09-18 12:19:07 -07:00
Kris c5f22a025a Regenerating everything 2015-09-17 14:09:53 -07:00
Maciej Szulik 8cefa2ee55 Job controller logic 2015-09-17 10:05:33 +02:00
Mike Danese 1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Ananya Kumar c7628fae43 Add daemon manager 2015-09-11 16:56:08 -07:00