Trying to follow
How to Set Up an Nginx Ingress with Cert-Manager on DigitalOcean Kubernetes tutorial for setting up the ingress rule for backendApi
The backend service are created correctly .
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE echo1 ClusterIP 10.245.254.205 <none> 80/TCP 3h echo2 ClusterIP 10.245.187.179 <none> 80/TCP 3h
Ingress resource are created correctly
kubectl get ingress echo-ingress
NAME HOSTS ADDRESS PORTS AGE echo-ingress echo1.example.com,echo2.example.com 188.8.131.52 80 3h
And I see external load balancer is created.
But it seems ingress cannot find the backend server ip , it shows <none>
kubectl describe ingress echo-ingress
Name: echo-ingress Namespace: default Address: 184.108.40.206 Default backend: default-http-backend:80 (<none>) Rules: Host Path Backends ---- ---- -------- echo1.example.com echo1:80 (<none>) echo2.example.com echo2:80 (<none>) Annotations: Events: <none>
I don’t think it would forward traffic , should it be sth like
Host Path Backends ---- ---- -------- echo1.example.com echo1:80 (10.245.254.205:80)
like in the official tutorial ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!