kubernetes/cmd/kube-apiserver/app/options
Antonio Ojea 5a20c425f2 apiserver: use endpoint lease reconciler as default
The apiserver owns and manages the kubernetes.default service.

It has 3 different options to reconcile the endpoints that belong to
that service:

- None: endpoints are handled by an external party.
- MasterCount: legacy, it reconciles based on the endpoints generated
and a flag specifying the number of master on the cluster.
- Lease: default since 1.11, each apiserver writes a lease in etcd
and renews periodically, the endpoints are generated based on the
existing leases.

It seems that when the default was set for the lease reconciler, the
controlplane code wasn't updated and kept using the master count
reconciler.

This also starts the deprecation of the master count reconciler in
favor of the lease reconciler.
2022-02-11 09:00:54 +01:00
..
globalflags_providerless.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
globalflags_providers.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
globalflags_test.go initialize logging after flag parsing 2021-09-30 13:46:49 +02:00
globalflags.go make it possible to start kube-api-server and kube-controller-manager without legacy cloud provider flags 2019-08-22 14:53:35 -07:00
options_test.go run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
options.go apiserver: use endpoint lease reconciler as default 2022-02-11 09:00:54 +01:00
validation_test.go move IPv6DualStack feature to stable. (#104691) 2021-09-24 16:30:22 -07:00
validation.go component-base: initialize logging as soon as possible 2021-11-03 11:55:54 +01:00