apiserver/pkg/server
Clayton Coleman fcc6b93d70 Load initializers from dynamic config
Handle failure cases on startup gracefully to avoid causing cascading
errors and poor initialization in other components. Initial errors from
config load cause the initializer to pause and hold requests. Return
typed errors to better communicate failures to clients.

Add code to handle two specific cases - admin wants to bypass
initialization defaulting, and mirror pods (which want to bypass
initialization because the kubelet owns their lifecycle).

Kubernetes-commit: 772ab8e1b4163c17d285a2789321762a8f2dc9f3
2017-06-13 20:47:31 +00:00
..
filters apiserver: move LongRunningRequestCheck type into endpoints/request 2017-06-13 20:47:27 +00:00
healthz autogenerated 2017-04-15 20:35:23 +00:00
httplog autogenerated 2017-04-15 20:35:23 +00:00
mux move CRD behind TPR 2017-06-13 20:47:29 +00:00
openapi Update Bazel 2017-06-13 20:47:31 +00:00
options Load initializers from dynamic config 2017-06-13 20:47:31 +00:00
routes Separate Build and Serving parts of OpenAPI spec handler 2017-06-13 20:47:31 +00:00
storage Add configuration options for encryption providers 2017-06-13 20:47:30 +00:00
BUILD Update Bazel 2017-06-13 20:47:31 +00:00
config.go move CRD behind TPR 2017-06-13 20:47:29 +00:00
config_selfclient.go apiserver: avoid resolving 'localhost' 2017-06-13 20:47:30 +00:00
config_selfclient_test.go apiserver: avoid resolving 'localhost' 2017-06-13 20:47:30 +00:00
config_test.go move CRD behind TPR 2017-06-13 20:47:29 +00:00
doc.go remove go get failing import comment 2017-01-19 13:02:01 -05:00
genericapiserver.go Aggregate OpenAPI specs 2017-06-13 20:47:31 +00:00
genericapiserver_test.go move CRD behind TPR 2017-06-13 20:47:29 +00:00
handler.go move CRD behind TPR 2017-06-13 20:47:29 +00:00
healthz.go move CRD behind TPR 2017-06-13 20:47:29 +00:00
hooks.go This PR implements AdmissionOptions.ApplyTo 2017-05-16 17:27:50 +00:00
plugins.go register all generic admission plugins when AdmissionOptions are created. 2017-06-13 20:47:29 +00:00
serve.go apiserver: Update genericapiserver to panic on listener error 2017-04-20 20:35:32 +00:00