mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
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:
@@ -47,7 +47,7 @@ func main() {
|
||||
}
|
||||
|
||||
controllerManager := controller.NewReplicationManager(
|
||||
client.New("http://"+*master, nil))
|
||||
client.New(*master, nil))
|
||||
|
||||
controllerManager.Run(10 * time.Second)
|
||||
select {}
|
||||
|
Reference in New Issue
Block a user