apiserver/pkg/server
Davanum Srinivas 30e6bc192e Drop using cloud provider to set host address feature
As part of the larger plan to drop --cloud-provider and --cloud-config
from kube-apiserver, we need to stop calling Cloud Provider API to
find the external ip address when one is not specified on the command
line.

When ExternalHost is not specified, we check if AdvertiseAddress is
specified and use that, if that is missing then we use os.Hostname().

When testing this feature, found a problem that when ExternalHost
is specified, the port was not added in the generated URL. So fixed
that as well.

Kubernetes-commit: 31332fa84a0928085200ba5a2e35118516ee2c48
2017-12-04 15:06:07 -05:00
..
filters wrong number of args in apiserver/pkg 2017-11-24 10:01:54 +08:00
healthz update BUILD files 2017-10-12 13:52:10 -07:00
httplog update BUILD files 2017-10-12 13:52:10 -07:00
mux update BUILD files 2017-10-12 13:52:10 -07:00
options Make audit batch webhook backend configurable 2017-11-30 18:47:48 +01:00
routes update BUILD files 2017-10-12 13:52:10 -07:00
storage update BUILD files 2017-10-12 13:52:10 -07:00
BUILD pass listener to genericapiserver 2017-11-16 13:32:12 +08:00
config.go Drop using cloud provider to set host address feature 2017-12-04 15:06:07 -05:00
config_selfclient.go pass listener to genericapiserver 2017-11-16 13:32:12 +08:00
config_selfclient_test.go pass listener to genericapiserver 2017-11-16 13:32:12 +08:00
config_test.go apiserver: stratify versioned informer construction 2017-09-09 21:44:32 +00:00
doc.go remove go get failing import comment 2017-01-19 13:02:01 -05:00
genericapiserver.go pass listener to genericapiserver 2017-11-16 13:32:12 +08:00
genericapiserver_test.go pass listener to genericapiserver 2017-11-16 13:32:12 +08:00
handler.go fix typos: remove duplicated word in comments 2017-06-17 17:17:22 +08:00
healthz.go move CRD behind TPR 2017-06-13 20:47:29 +00:00
hooks.go Added PreShutdownHooks to the apiserver 2017-10-12 21:20:46 -04:00
plugins.go Adding the mutating webhook 2017-11-14 16:36:28 -08:00
serve.go pass listener to genericapiserver 2017-11-16 13:32:12 +08:00
signal.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-29 13:16:11 +00:00
signal_posix.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-29 13:16:11 +00:00
signal_windows.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-29 13:16:11 +00:00