By gabeN
Just created my managed k8s cluster and deployed some applications. Can i somehow point a domain/subdomain to each app without setting up additional droplet with proxy(nginx for example), with just DO managed products? P.S. some apps also have more than 1 replicas, so some kind of load balancing will be needed too.
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!
Hey gabe!
For the load balancing, you can create a Kubernetes service [1] pointing to the deployment. Requests coming to it’s IP will automatically be distributed across all the replicas.
For the multiple domains you can:
That’s it :)
[1] https://kubernetes.io/docs/concepts/services-networking/service/ [2] https://kubernetes.io/docs/concepts/services-networking/ingress/ [3] https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ [4] https://www.digitalocean.com/products/load-balancer/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.