k8s-merge-robot
4010c214e4
Merge pull request #19752 from hongchaodeng/listandwatch
...
Auto commit by PR queue bot
2016-01-15 23:01:37 -08:00
Hongchao Deng
9a10e95f6e
docs: Reflector ListAndWatch
2016-01-15 18:19:19 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
He Simei
7dacd3fe61
use param indices
2016-01-13 19:23:58 +08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Justin Santa Barbara
f9a6ac077e
Ubernetes Lite: Volumes can dictate zone scheduling
...
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.
So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels. This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.
Support for tagging GCE PVs will follow.
Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Janet Kuo
32d153093e
Fix deployment tests failures; change ResyncPeriod
2015-12-17 19:29:54 -08:00
Sam Ghods
b838d8ce18
Add informers to deployment controller
2015-12-17 19:29:54 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
k8s-merge-robot
06df5c97e7
Merge pull request #18499 from wojtek-t/fix_reflector_race
...
Auto commit by PR queue bot
2015-12-15 01:19:06 -08:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Wojciech Tyczynski
6a7e8861c2
Fix data-race in reflector test in Go 1.5.1
2015-12-14 09:47:45 +01:00
Wojciech Tyczynski
0cefb43707
Enable listing from memory
2015-12-09 16:24:14 +01:00
Wojciech Tyczynski
a915b8b29a
Merge pull request #18080 from wojtek-t/list_options_in_listwatch
...
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
k8s-merge-robot
db11f1b6c6
Merge pull request #17133 from derekwaynecarr/quota_controller_improvements
...
Auto commit by PR queue bot
2015-12-06 12:24:00 -08:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
derekwaynecarr
55d4f70f8e
Resource quota observes deletes faster
2015-12-03 17:35:05 -05:00
Wojciech Tyczynski
cdded4f011
Use VersionedParams in "extensions" client.
2015-12-01 10:18:55 +01:00
jiangyaoguo
f4c5d00b0c
Implement a cachedNodeInfo in predicates
2015-11-27 21:49:14 +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
feihujiang
ad79fa6e84
Move list functions from runtime to meta package
2015-11-20 09:20:55 +08:00
Abhi Shah
3b014c71dd
Merge pull request #17274 from mqliang/podController
...
fix errror message
2015-11-18 14:17:31 -08:00
mqliang
d7acd3d58f
fix errror message
2015-11-15 09:49:35 +08:00
Mike Danese
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
Paul Morie
2377bada68
Add implements assertion for cache
2015-11-11 16:20:56 -05:00
Mike Danese
c91dac3270
up the log level on a super spammy statement
2015-11-09 11:26:30 -08:00
k8s-merge-robot
f4b2d8358f
Merge pull request #16179 from madhusudancs/master-out-of-disk
...
Auto commit by PR queue bot
2015-10-29 11:57:25 -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
Madhusudan.C.S
ce257b5a0e
Use node out of disk condition in the scheduler while scheduling pods.
...
Set the out of disk node condition to unknown in the node controller if
the kubelet does not report its node condition in a long time. Update
node controller unit tests.
Implement a node condition predicate function that checks if a given
node satisfies the conditions defined by the predicate and if it
does, use that node for scheduling pods. The predicate function takes
both NodeReady and NodeOutOfDisk into consideration to determine if a
node is fit for scheduling pods.
The predicate is then passed to the node lister in the scheduler factory
so that the node lister can run the predicate function on the nodes when
schedling pods thereby omitting nodes that does not satisfy the
predicate.
Also update listers test.
2015-10-28 14:29:46 -07:00
Daniel Smith
8524d392bf
Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
...
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
Madhusudan.C.S
9c4424f0bd
Report out of disk as a node condition when node goes out of disk.
...
Define a new out of disk node condition and use it to report when node
goes out of disk.
Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.
Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
k8s-merge-robot
a094a6e3de
Merge pull request #15815 from mqliang/lister_test
...
Auto commit by PR queue bot
2015-10-26 11:30:44 -07:00
Mike Danese
933daef3f8
fix cache.Get error handling on bad key
2015-10-21 11:43:30 -07:00
k8s-merge-robot
36e1b80e4a
Merge pull request #14881 from lavalamp/fix-14617
...
Auto commit by PR queue bot
2015-10-20 14:14:18 -07:00
mqliang
62846b8b3c
solve conflict after rebase
2015-10-19 21:56:24 +08:00
mqliang
b9f9944351
add unit test for StoreToJobLister
2015-10-19 21:56:24 +08:00
mqliang
1ce85d8ffd
replace Fatalf to Errorf
2015-10-17 19:44:32 +08:00
k8s-merge-robot
d94e4d64f2
Merge pull request #15694 from mqliang/jobList
...
Auto commit by PR queue bot
2015-10-16 21:22:12 -07:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
mqliang
5122f34206
StoreToJobLister.List() should return extensions.JobList, instead of []extension.Job
2015-10-15 15:23:52 +08:00
mqliang
45269bef8f
return api.DaemonSetList, instead of an array
2015-10-15 14:49:52 +08:00
Daniel Smith
57c6dd93ea
Switch type; add comments & disclaimer
2015-10-14 16:18:56 -07:00
Daniel Smith
4bdb1259a7
fix delta fifo & various fakes for go1.5.1
2015-10-14 16:07:46 -07:00
Chao Xu
cbb3deb182
run goimports
2015-10-12 13:31:45 -07:00
Chao Xu
50a2c4c643
grep-sed
2015-10-12 13:31:45 -07:00