Domain names attaching to multiple loadbalancers

Hi, I am new at Kubernetes, so forgive me if this is obvious.

I am have an issue where I have configured my entire cluster, and it works just fine when I use the external IP addresses (I have two loadbalancers for two different services).

The problem is now that I have configured and attached domain names one for the client ui and another for the api, I am having a problem where the domain names tend to switch at time when queried in the browser, the request from the api goes to the client and the request from the client goes to the api and then switches back to normal after sometime. It seems really weird to me because it interchanges without any changes to the system.

The domain and subdomain do share the same SSL certificate, but I don’t think that should be an issue, I might be wrong.

Show comments

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.

Hi, yes that is exactly what is happening, I deleted the domains, and restricted the deployments to specific nodes, and then added and pointed the domains to the required loadbalancers, and I haven’t had the same issue repeat itself yet. Thanks