mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +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) {
|
if hasFinalizer(apiService, ELBRbsFinalizer) {
|
||||||
return nil, cloudprovider.ImplementedElsewhere
|
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 {
|
if len(nodes) == 0 {
|
||||||
return nil, fmt.Errorf(errStrLbNoHosts)
|
return nil, fmt.Errorf(errStrLbNoHosts)
|
||||||
|
Loading…
Reference in New Issue
Block a user