mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
disable gce service handling if has rbs forwarding rule
This commit is contained in:
parent
e2c49a0dd1
commit
b2534483fa
@ -62,6 +62,10 @@ func (g *Cloud) ensureExternalLoadBalancer(clusterName string, clusterID string,
|
||||
if hasFinalizer(apiService, ELBRbsFinalizer) {
|
||||
return nil, cloudprovider.ImplementedElsewhere
|
||||
}
|
||||
// Skip service handling if it has Regional Backend Service created by Ingress-GCE
|
||||
if existingFwdRule != nil && existingFwdRule.BackendService != "" {
|
||||
return nil, cloudprovider.ImplementedElsewhere
|
||||
}
|
||||
|
||||
if len(nodes) == 0 {
|
||||
return nil, fmt.Errorf(errStrLbNoHosts)
|
||||
|
Loading…
Reference in New Issue
Block a user