Cannot expose nginx-ingress with LoadBalancer Service on several Exoscale clusters #8374
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
needs-priority
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
This issue is not about the nginx ingress controller not working but about a limitation when it is deployed on several clusters within the same Exoscale account due to the
service.beta.kubernetes.io/exoscale-loadbalancer-name: nginx-ingress-controller
annotation that could not be used several times (even on different clusters).Kubernetes version (use
kubectl version
):Environment:
uname -a
):kubectl version
: client 1.23.3 / server 1.23.4kubectl get nodes -o wide
kubectl describe ingressclasses
kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
What happened:
Same nginx ingress LoadBalancer name (specified via the annotation) cannot be used for multiple clusters in the same Exoscale organization, so the LoadBalancer is not created
What you expected to happen:
The LoadBalancers to be created normally even if the ingress controller is installed on several clusters in the same Exoscale account.
How to reproduce it:
Create 2 SKS clusters in the Exoscale console and install the nginx ingress in both of them. The second LoadBalancer will not be correctly created.
A way to get rid of the problem is to remove the annotation 'service.beta.kubernetes.io/exoscale-loadbalancer-name: nginx-ingress-controller' so it takes the service UID by default and unlock the creation of the LoadBalancer.
The text was updated successfully, but these errors were encountered: