My website is located in the DO App and besides this, I have a lot of things in the k8s cluster. I don’t wanna put my website to the k8s, cuz my experience is quite a bit, and especially when DO App provides Global CDN / CI CD / HTTPS by default, so the question is there any way to redirect my users to the website CDN when they try to reach out to domain.com and on domain.com/somethingSpecific redirect them to the k8s LoadBalancer ingress controller?
Maybe I should tell DNS to point domain.com to the k8s ingress and there somehow point “/” path to the DO CDN and specific routes point to the k8s services? I know that I can tell DNS to point subdomains, e.g. api.domain.com. to the k8s, but I wanna freely pass the cookies in the requests from the main domain.
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!