kube-proxy can read config from the apiserver

All clients that talk to a "master" as a host:port or URL
(scheme://host:port) parameter.  Add tests.
This commit is contained in:
Clayton Coleman
2014-08-15 17:14:22 -04:00
parent 083d81b6d7
commit 9006eadcfe
9 changed files with 393 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ func main() {
}
controllerManager := controller.NewReplicationManager(
client.New("http://"+*master, nil))
client.New(*master, nil))
controllerManager.Run(10 * time.Second)
select {}