mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-02 21:50:39 -05:00
Bugfix: cloud-controller-manager routeController.run() block in WaitForCacheSync
This commit is contained in:
parent
e60cc6ee3d
commit
c9535869fc
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ func StartControllers(s *options.CloudControllerManagerServer, kubeconfig *restc
|
|||
glog.Warning("configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes.")
|
||||
} else {
|
||||
routeController := routecontroller.New(routes, client("route-controller"), sharedInformers.Core().V1().Nodes(), s.ClusterName, clusterCIDR)
|
||||
routeController.Run(stop, s.RouteReconciliationPeriod.Duration)
|
||||
go routeController.Run(stop, s.RouteReconciliationPeriod.Duration)
|
||||
time.Sleep(wait.Jitter(s.ControllerStartInterval.Duration, ControllerStartJitter))
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue