Question

How to use ingress with backend and frontend clusterIP services

I have installed ingress and applied my ingress file path = ".com/" goes to my front end and ".com/api/v1 is supposed to hi backend service. Frontend is working properly but the /api/v1 gives 502 bad gateway as response. Same configurations have worked on google cloud So, it is unlikely that it is some coding issue.

Also, I am applying files via kubtectl directly. I don’t have helm or doctl


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Suddenly, it started working after I deleted pods I want to delete this question