October 2018
Intermediate to advanced
248 pages
4h 46m
English
First, we should understand why we need Marathon-lb set up. We already deployed a WordPress container in the previous section. So, you have one instance, you know the server name and the port, and, when you click on the link, it will bring up the output page—the WordPress landing page. If you are working on only one instance, then you don't have to use Marathon-lb; you can just have your public IP map to another DNS name and you can access that. In our case, our server is mesos-master2, so what we can do is we can just access the mesos-master2 server on a specific port and then it will get access. You can just configure a load balancer and point to this server on this port and your work is done. In that scenario, you ...