Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[svc] return error if no LoadBalancer IP
If there is an issue with the LoadBalancer service in the cluster, like the MetalLB instance is down, or the requested IP using the metallb.universe.tf/loadBalancerIPs annotation is outside the configured range of the IPAddressPool, the k8s LoadBalancert service External-IP is stuck in pending. This would not allow dataplane service to connect to the service. This change returns an error in this case to reflect that there is an issue with the k8s service, which needs to be fixed and the consumer of the func can reconcile to wait for a LoadBalancer IP to be available. Signed-off-by: Martin Schuppert <[email protected]>
- Loading branch information