Jan Chaloupka
6079053407
Update clientset generator to use RESTClient interface instead of the RESTClient data type
2016-10-21 10:13:51 +02:00
Łukasz Oleś
5d2e215652
Add NumberReady to DaemonSet status
...
Fixes #25605
2016-10-12 15:15:10 +02:00
Ivan Shvedunov
5651f822fd
Fix DaemonSet namespace handling for predicates
...
In order to determine whether a node should run its daemon pod,
DaemonController creates a dummy pod based on DaemonSet's template and
then uses scheduler predicates (currently GeneralPredicates) to test
whether such pod can be run by the node. The problem was that
DaemonController was not setting Namespace for the dummy pod. This was
not affecting currently used GeneralPredicates but this problem could
bite later when some namespace-dependent predicates are added to
GeneralPredicates or directly to DaemonController's node checks
(e.g. pod affinity).
Stumbled upon it while working on e2e test for #31136
2016-09-26 22:14:28 +03:00
deads2k
234d68be83
convert daemonset controller to shared informers
2016-09-16 10:40:46 -04:00
Mike Danese
a765d59932
move informer and controller to pkg/client/cache
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-09-15 12:50:08 -07:00
deads2k
385831825b
update error handling for daemoncontroller
2016-09-12 11:01:46 -04:00
Mike Danese
9d7d77d4a3
fix log message to include ds name
...
and lower log level
2016-09-05 18:57:04 -07:00
Mike Danese
a615c426a5
Revert "daemonset controller should respect taints"
2016-09-01 12:54:16 -07:00
deads2k
4317173d3f
add names for workqueues to gather controller latency/depth metrics
2016-08-30 09:51:50 -04:00
Mike Danese
00f05b441e
daemonset controller should respect taints
2016-08-19 11:51:15 -07:00
Wojciech Tyczynski
331083727f
Change podNamespacer API
2016-08-17 16:55:01 +02:00
Wojciech Tyczynski
acfd8c787f
Avoid computing super-expensive DeepEqual on every pod update
2016-08-11 08:35:36 +02:00
mksalawa
2749ec7555
Create PredicateFailureReason, modify scheduler predicate interface.
2016-08-09 14:01:46 +02:00
Dominika Hodovska
816f6d32ca
Collapse duplicate informer creation paths
2016-08-04 09:02:13 +02:00
Michal Rostecki
59ca5986dd
Print/log pointers of structs with %#v instead of %+v
...
There are many places in k8s where %+v is used to format a pointer
to struct, which isn't working as expected.
Fixes #26591
2016-08-01 22:27:56 +02:00
Łukasz Oleś
528bf7af3a
Make Daemonset use GeneralPredicates
...
fixes #21454 , fixes #22205
2016-07-13 14:50:29 +02:00
gmarek
d8958257c4
DaemonController doesn't take any actions when being deleted.
2016-07-12 09:43:08 +02:00