Kenneth Owens
509af53cbd
Adds v1.Service.PublishUnreadyAddresses and deprecates service.alpha.kubernetes.io/tolerate-unready-endpoints
2017-08-09 15:17:56 -07:00
FengyunPan
53742560cd
There is no need to split service key repeatedly
2017-08-07 20:18:20 +08:00
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Mike Danese
c201553f27
remove some people from OWNERS so they don't get reviews anymore
...
These are googlers who don't work on the project anymore but are still
getting reviews assigned to them:
- bprashanth
- rjnagal
- vmarmol
2017-07-13 10:02:21 -07:00
Chao Xu
65cedeeb43
update bazel
2017-07-07 19:04:26 -07:00
Chao Xu
24d5279c59
move leaderelection package to client-go
2017-07-07 17:01:04 -07:00
xiangpengzhao
d59c128904
Pods which exits and won't restart should not be in the Endpoints.NotReadyAddresses
2017-07-05 13:42:59 +08:00
xiangpengzhao
9e31eb280a
Populate endpoints and allow ports with headless service
2017-06-28 11:15:51 +08:00
Kubernetes Submit Queue
c30f5e1d3c
Merge pull request #46761 from yastij/syncService-remove-copy
...
Automatic merge from submit-queue (batch tested with PRs 48106, 46761)
removing unnecessary shallow copy on SyncService
**What this PR does / why we need it**: remove shallow copy + avoid using same index name as the nested loop
**Which issue this PR fixes**: fixes #46703
**Special notes for your reviewer**:
**Release note**:
```release-note
```
2017-06-27 15:02:00 -07:00
James Ravn
9fc5a547ae
Use endpoints informer for the endpoint controller
...
This substantially reduces the number of API calls made by the endpoint
controller. Currently the controller makes an API call per endpoint for
each service that is synced. When the 30s resync is triggered, this
results in an API call for every single endpoint in the cluster. This
quickly exceeds the default qps/burst limit of 20/30 even in small
clusters, leading to delays in endpoint updates.
This change modifies the controller to use the endpoint informer cache
for all endpoint GETs. This means we only make API calls for changes in
endpoints. As a result, qps only depends on the pod activity in the
cluster, rather than the number of services.
2017-06-27 10:17:09 +01:00
Shyam Jeedigunta
f0fb21e411
Retry service syncs with exponential backoff in endpoints-controller
2017-06-26 13:35:46 +02:00
Kubernetes Submit Queue
e28f7b47da
Merge pull request #47788 from shyamjvs/resync-period-ep-controller
...
Automatic merge from submit-queue
Get rid of 30s ResyncPeriod in endpoint controller
Ref: #47597
This should fix one of the demons of endpoint controller.
/cc @smarterclayton @gmarek
2017-06-26 04:20:12 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Shyam Jeedigunta
97fdc0582c
Get rid of 30s ResyncPeriod in endpoint controller
2017-06-20 17:05:47 +02:00
Yassine TIJANI
b878147305
removing unnecessary shallow copy see #46703
2017-06-01 11:03:40 +02:00
Wojciech Tyczynski
d2529bb6b6
Avoid sleep in endpoint controller
2017-05-19 13:57:36 +02:00
Hardy Simpson
e7ea942aac
fix endpoints controller del lead-election endpoints
2017-05-09 00:53:50 +00:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Andy Goldstein
a81e5807b6
Update bazel
2017-04-14 07:27:45 -04:00
Andy Goldstein
e63fcf708d
Make controller Run methods consistent
...
- startup/shutdown logging
- wait for cache sync logging
- defer utilruntime.HandleCrash()
- wait for stop channel before exiting
2017-04-14 07:27:45 -04:00
Klaus Ma
c2b629ee2a
Removed hostname/subdomain annotation.
2017-04-10 13:55:40 +08:00
supereagle
29c831aabd
remove duplicated import
2017-03-21 14:45:26 +08:00
deads2k
fd34b11e13
react to informer updates
2017-02-13 09:18:32 -05:00
deads2k
a86fabb9d2
regenerate informers
2017-02-13 07:59:34 -05:00
Andy Goldstein
3b8cc59214
Switch endpoints controller to shared informers
2017-02-09 20:40:42 -05:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
deads2k
2c1c0f3f72
move workqueue to client-go
2017-01-30 09:08:21 -05:00
deads2k
b0b156b381
make tools/cache authoritative
2017-01-25 08:29:45 -05:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
1ce0637b27
move listers out of cache to reduce import tree
2017-01-20 15:01:38 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
deads2k
c587b8a21e
re-run client-gen
2017-01-20 08:02:36 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
Kubernetes Submit Queue
6b5d82b512
Merge pull request #37505 from k82cn/use_controller_inf
...
Automatic merge from submit-queue (batch tested with PRs 39807, 37505, 39844, 39525, 39109)
Made cache.Controller to be interface.
**What this PR does / why we need it**:
#37504
2017-01-13 13:40:41 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
Klaus Ma
25fe1e0d82
Made cache.Controller to be interface.
2017-01-13 13:33:23 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
NickrenREN
639572ac68
fix redundant alias and remove unused function
2017-01-09 17:13:09 +08:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Kubernetes Submit Queue
064132d84a
Merge pull request #39284 from bowei/remove-host-record
...
Automatic merge from submit-queue (batch tested with PRs 39284, 39367)
Remove HostRecord annotation (beta feature)
The annotation has made it to GA so this code should be deleted.
**Release note**:
```release-note
The 'endpoints.beta.kubernetes.io/hostnames-map' annotation is no longer supported. Users can use the 'Endpoints.subsets[].addresses[].hostname' field instead.
```
2017-01-03 19:20:08 -08:00
Christian Simon
b44de1ef27
Fix: With TolerateUnready set, endpoints are still listed for a Pod in state terminating
...
* Otherwise it prevents long running task in a preStop hook to succeed,
that require DNS resolution
2017-01-03 13:00:15 +00:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Bowei Du
589f58ca39
Remove HostRecord annotation (beta feature)
...
The annotation has made it to GA so this code should be deleted.
2016-12-28 12:47:08 -08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Kubernetes Submit Queue
8abbedae54
Merge pull request #38315 from mikedanese/pin-gazel
...
Automatic merge from submit-queue
Pin gazel to a version and support cgo
This fixes the bazel build.
@krousey who is buildcop
2016-12-12 19:32:29 -08:00