Report this

What is the reason for this report?

How to deploy different modules on different node pools and make "Load Balancer" to specific node pool?

Posted on November 9, 2019

Hi,

My project has 3 modules: WEB, API and ServerSockets. I must create a cluster with 3 kubernetes node pools and deploy each module to a node pool.

  1. How to deploy to each node pool?
  2. How to make requests/connections for each module forward to the correct node pool?

Who knows and can help me will be of great help!

And if you have any architectural suggestions, you will also be welcome.

Thanks!



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.

Hi, you can add a nodeSelector to a Deployment resource:

https://kubernetes.io/docs/concepts/configuration/assign-pod-node

One can also use Taints and Tolerations and more information can be found in the docs:

https://kubernetes.io/docs/concepts/configuration/taint-and-toleration

Good luck and all the best.

-Conrad

Thank you, Conrad!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.