https://rancher.com/ logo
#amazon
Title
# amazon
a

adamant-kite-43734

05/10/2022, 8:03 AM
This message was deleted.
b

bland-translator-58922

05/10/2022, 8:47 AM
Yes, you need to deploy the aws-loadbalancer-controller and then deploy any ingress-controll, like ingress-nginx or traefik.
This will then automatically create an AWS lb for you. You can also use some annotations to specify the lb type etc...
AWS lb controller is used to create a LB for your inginx controller. And the controller listens to the ingress rules like you created.
ingress controller*
a

adorable-ghost-62021

05/10/2022, 9:56 AM
Thank you! I try install ingress-nginx , show "404 not found". but can not connect service. maybe not work Service Derivery Ingress Setting.
the namespaces need to be the same?
b

bland-translator-58922

05/10/2022, 10:24 AM
If I recall correctly the namespace shouldn't matter for the controller. But you can have to check the documentation, I'm not sure
😢 1
You can try putting the entire loadbalancer name as an ingress to see if that traffic gets routed to the nginx controller. If you create a deployment for somehting like this https://github.com/rancher/hello-world
And create a cluster ip port for that deployment
Also check if you're using the right LB with
kubectl get svc -A
Should be the external-ip under
ingress-nginx-controller
a

adorable-ghost-62021

05/10/2022, 11:46 AM
Thank you very much !!! The cause was that there was no Annotations.
Copy code
<http://kubernetes.io/ingress.class:nginx|kubernetes.io/ingress.class:nginx>
Thanks to you. That was a really big help.
b

bland-translator-58922

05/10/2022, 11:46 AM
Ran into that exact issue last week aswell 😄
😄 1
19 Views