kubernetes/cmd/kube-apiserver/app
Kubernetes Submit Queue fd3c1f4416 Merge pull request #51698 from rphillips/feat/lease_endpoint_reconciler
Automatic merge from submit-queue (batch tested with PRs 52240, 48145, 52220, 51698, 51777). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

add lease endpoint reconciler

**What this PR does / why we need it**: Adds OpenShift's LeaseEndpointReconciler to register kube-apiserver endpoints within the storage registry.

Adds a command-line argument `alpha-endpoint-reconciler-type` to the kube-apiserver.

Defaults to the old MasterCount reconciler.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes/community#939 fixes kubernetes/kubernetes#22609

**Release note**:
```release-note
Adds a command-line argument to kube-apiserver called
--alpha-endpoint-reconciler-type=(master-count, lease, none) (default
"master-count"). The original reconciler is 'master-count'. The 'lease'
reconciler uses the storageapi and a TTL to keep alive an endpoint within the
`kube-apiserver-endpoint` storage namespace. The 'none' reconciler is a noop
reconciler that does not do anything. This is useful for self-hosted
environments.
```

/cc @lavalamp @smarterclayton @ncdc
2017-09-23 09:14:02 -07:00
..
options Merge pull request #51698 from rphillips/feat/lease_endpoint_reconciler 2017-09-23 09:14:02 -07:00
testing Feature gate initializers field 2017-08-28 11:11:48 -04:00
aggregator.go kube-aggregator: use shared informers from RecommendedConfig 2017-09-08 16:12:54 +02:00
apiextensions.go apiserver: stratify versioned informer construction 2017-09-08 14:16:09 +02:00
BUILD add lease endpoint reconciler 2017-09-11 10:42:36 -05:00
server.go Merge pull request #51698 from rphillips/feat/lease_endpoint_reconciler 2017-09-23 09:14:02 -07:00