kubernetes/cmd
Kubernetes Submit Queue e1de2ad507
Merge pull request #52562 from ironcladlou/kube-scheduler-config
Automatic merge from submit-queue (batch tested with PRs 53592, 52562, 55175, 55213). 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>.

Refactor kube-scheduler config API, command, and server setup

Refactor the kube-scheduler configuration API, command setup, and server setup according to the guidelines established in #32215 and using the kube-proxy refactor (#34727) as a model of a well factored component adhering to said guidelines.

* Config API: clarify meaning and use of algorithm source by replacing modality derived from bools and string emptiness checks with an explicit AlgorithmSource type hierarchy.
* Config API: consolidate client connection config with common structs.
* Config API: split and simplify healthz/metrics server configuration.
* Config API: clarify leader election configuration.
* Config API: improve defaulting.
* CLI: deprecate all flags except `--config`.
* CLI: port all flags to new config API.
* CLI: refactor to match kube-proxy Cobra command style.
* Server: refactor away configurator.go to clarify application wiring.
* Server: refactor to more clearly separate wiring/setup from running.

Fixes https://github.com/kubernetes/kubernetes/issues/52428.

@kubernetes/api-reviewers 
@kubernetes/sig-cluster-lifecycle-pr-reviews 
@kubernetes/sig-scheduling-pr-reviews 

/cc @ncdc @timothysc @bsalamat

```release-note
The kube-scheduler command now supports a `--config` flag which is the location of a file containing a serialized scheduler configuration. Most other kube-scheduler flags are now deprecated.
```
2017-11-07 11:21:19 -08:00
..
clicheck update BUILD files 2017-10-15 18:18:13 -07:00
cloud-controller-manager Update bazel 2017-10-18 17:24:04 +02:00
gendocs update BUILD files 2017-10-15 18:18:13 -07:00
genkubedocs kubeadm-doc 2017-10-27 09:57:25 +02:00
genman kubeadm-doc 2017-10-27 09:57:25 +02:00
genswaggertypedocs update BUILD files 2017-10-15 18:18:13 -07:00
genutils cmd: genutils: remove golint_failure entry 2017-11-02 12:48:15 +11:00
genyaml update BUILD files 2017-10-15 18:18:13 -07:00
gke-certificates-controller certs: remove always nil error from New signature 2017-10-23 11:43:08 -07:00
hyperkube Refactor scheduler config API 2017-11-07 09:41:39 -05:00
importverifier Merge pull request #54568 from sttts/sttts-import-verifier-yaml 2017-10-25 23:10:29 -07:00
kube-apiserver Merge pull request #55157 from sttts/sttts-etcd3-scheme 2017-11-07 06:03:16 -08:00
kube-controller-manager Merge pull request #53592 from frodenas/bootstrap-controller 2017-11-07 11:21:15 -08:00
kube-proxy Use "kubeproxy.config.k8s.io" as final group name. 2017-11-04 11:42:36 +08:00
kubeadm Merge pull request #52562 from ironcladlou/kube-scheduler-config 2017-11-07 11:21:19 -08:00
kubectl Merge pull request #50887 from netroby/patch-1 2017-11-02 15:40:15 -07:00
kubelet Merge pull request #54643 from mtaufen/structure-manifest-url-header 2017-11-02 12:59:24 -07:00
kubemark Update bazel 2017-10-18 17:24:04 +02:00
linkcheck update BUILD files 2017-10-15 18:18:13 -07:00
BUILD Remove seemingly obsolete binaries 2017-08-18 21:01:19 -07:00
OWNERS