Commit 7620ed4b authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #28963 from cdrage/better-warning-kubecontroller

Automatic merge from submit-queue Warn when missing cloud-provider on kube controller
parents a0a07600 13cecd6e
......@@ -160,7 +160,7 @@ func (s *ServiceController) Run(serviceSyncPeriod, nodeSyncPeriod time.Duration)
func (s *ServiceController) init() error {
if s.cloud == nil {
return fmt.Errorf("ServiceController should not be run without a cloudprovider.")
return fmt.Errorf("WARNING: no cloud provider provided, services of type LoadBalancer will fail.")
}
balancer, ok := s.cloud.LoadBalancer()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment