kubernetes/cmd
Kubernetes Submit Queue c41c3d4d14 Merge pull request #25189 from mfanjie/kube-service-controller-rewritten
Automatic merge from submit-queue

Rewrite service controller to apply best controller pattern

This PR is a long term solution for #21625:
We apply the same pattern like replication controller to service controller to avoid the potential process order messes in service controller, the change includes:
1. introduce informer controller to watch service changes from kube-apiserver, so that every changes on same service will be kept in serviceStore as the only element.
2. put the service name to be processed to working queue
3. when process service, always get info from serviceStore to ensure the info is up-to-date
4. keep the retry mechanism, sleep for certain interval and add it back to queue.
5. remote the logic of reading last service info from kube-apiserver before processing the LB info as we trust the info from serviceStore.

The UT has been passed, manual test passed after I hardcode the cloud provider as FakeCloud, however I am not able to boot a k8s cluster with any available cloudprovider, so e2e test is not done.

Submit this PR first for review and for triggering a e2e test.
2016-08-04 14:05:51 -07:00
..
gendocs Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genkubedocs Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genman Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genswaggertypedocs Remove GOMAXPROCS() calls because they are unnecessary 2016-07-19 11:08:21 +03:00
genutils Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
genyaml Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
hyperkube Merge pull request #29237 from ncdc/fixup-windows-term 2016-07-21 07:24:13 -07:00
kube-apiserver Merge pull request #29557 from deads2k/make-prefx-configurable 2016-07-28 03:01:28 -07:00
kube-controller-manager Merge pull request #25189 from mfanjie/kube-service-controller-rewritten 2016-08-04 14:05:51 -07:00
kube-dns Remove GOMAXPROCS() calls because they are unnecessary 2016-07-19 11:08:21 +03:00
kube-proxy Move linedelimiter to it's own pkg 2016-07-29 02:29:26 -04:00
kubectl Merge pull request #29237 from ncdc/fixup-windows-term 2016-07-21 07:24:13 -07:00
kubelet Merge pull request #29950 from andreykurilin/kubelet_typos 2016-08-03 10:05:46 -07:00
kubemark Remove GOMAXPROCS() calls because they are unnecessary 2016-07-19 11:08:21 +03:00
kubernetes-discovery Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
libs/go2idl fix String protobuf generator 2016-08-03 08:37:45 -04:00
linkcheck Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
mungedocs Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00