Hello!
I have 2 NGINX controllers setup, each in their own namespace, with their own ingress classes and ti works - but i’m missing the IP from the LB on “nginx-public”:
k get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
ingress1 nginx n/A 1.2.3.4 80, 443 40h
ingress2 nginx n/a 1.2.3.4 80, 443 40h
ingress3 nginx n/a 1.2.3.4 80, 443 40h
ingress4 nginx-public n/a 80, 443 14h
k get ingressclasses
NAME CONTROLLER PARAMETERS AGE
nginx k8s.io/ingress-nginx <none> 15h
nginx-public k8s.io/ingress-nginx-public <none> 16h
kubectl get svc -n ingress-nginx
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress-nginx-controller LoadBalancer 192.168.0.1 1.2.3.4 443:30934/TCP 14h
dvp@linux03-dvp:~/Z/Clients/LokalForsikring/repositories/kubernetes/cluster$ kubectl get svc -n ingress-nginx-public
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress-nginx-controller LoadBalancer 192.168.0.2 4.3.2.1 443:30112/TCP 15h
The ips and hosts are obfuscated.
As mentioned, it works, things gets shuffled to the right ingress, but the lack of ip worries me.
Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version: v1.27.2
Nginx Version: 1.8.1
Cloud being used: Oracle
Installation method: Deployed, NGinx done via yaml files