Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
deads2k
0961784a9b
switch node controller to shared informers
2016-09-29 09:16:41 -04:00
Dmitry Shulyak
0ddaa20bf1
Fix FakeNodeHandler Update behaviour
...
Two problems:
1. Get is always using Existing nodes slice, and you will for sure miss any
updated data
2. Each Update duplicates node entry in UpdatedNodes slice
For the 1st, try to find a node in UpdatedNodes slice (same as for the List).
2nd - append only if there is no node with same name as updated, if there is
just replace object.
Change-Id: I9ef1cca2788ba946eee37fa1b037c124ad76074c
2016-09-14 12:34:37 +03:00
better0332
2f837e7096
fix FakeNodeHandler List()
2016-08-18 17:30:26 +08:00
AdoHe
b2ab4c6d9b
fix node controller event uid issue
2016-08-14 09:41:20 +08:00
gmarek
66224ce0bd
Change eviction logic in NodeController and make it Zone-aware
2016-08-02 14:21:52 +02:00
k8s-merge-robot
6b6141f812
Merge pull request #28820 from caesarxuchao/patch-subresource
...
Automatic merge from submit-queue
[client-gen] Allow passing subresources in Patch method
Expand the Patch() method from:
```
Patch(name string, pt api.PatchType, data []byte)
```
to
```
Patch(name string, pt api.PatchType, data []byte, subresources ...string)
```
Continue on #27293 . Fixes #26580 .
cc @Random-Liu @lavalamp
2016-07-13 16:09:01 -07:00
gmarek
5677a9845e
Split NodeController rate limiters between zones
2016-07-13 14:09:19 +02:00
Chao Xu
dc2e12d2f8
manual changes to patch subresource
2016-07-12 11:09:27 -07:00
gmarek
7f5f9d3a6f
Move CIDR allocation logic away from nodecontroller.go
2016-07-12 09:40:43 +02:00