[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesos-user
Subject:    Re: Is it possible to run mesos master/slave in private IP and exhibit mesos cluster status with pub
From:       craig w <codecraig () gmail ! com>
Date:       2015-07-28 10:54:01
Message-ID: CACeBwqxHx4-F137O0XcyuzQqC_Rge8V0NM_4PGF6X-w3wJqZVw () mail ! gmail ! com
[Download RAW message or body]

The mesos-slaves have their own UI separate from the master? If so, what's
the URL to get to it? I just tried http://<mesos-slave>:5051 and got a
blank page.

On Tue, Jul 28, 2015 at 6:51 AM, Adam Bordelon <adam@mesosphere.io> wrote:

> A simple nginx reverse proxy will get you most of the way there, but only
> for the master webui. Since the tasks' sandboxes are hosted on each slave's
> webui, you would also have to reverse proxy each slave's webui in order for
> sandboxes to be publicly accessible. More complicated, but not impossible.
>
> Sounds like what you really want is:
> https://issues.apache.org/jira/browse/MESOS-2102
>
> On Mon, Jul 27, 2015 at 5:55 AM, haosdent <haosdent@gmail.com> wrote:
>
>> Does nginx could satisfy your requirement? You requests to nginx, and
>> nginx reverse proxy the mesos master.
>>
>> On Mon, Jul 27, 2015 at 8:50 PM, sujz <43183345@qq.com> wrote:
>>
>>> Hi, all,
>>>
>>> I want to run mesos master/slave/framework in private IP, and exhibit
>>> mesos cluster status with a new public IP, this way can enhance safe and
>>> privacy protection of enterprise internal datacenter network.
>>>
>>> After reading through the code, unfortunately, I didn't find where
>>> mesos-master binds listening ip and port to http server(please give me some
>>> hints), so I want to know how to implement communicating with slaves and
>>> frameworks with private IP and building http server with public IP for
>>> serving external http requests?
>>>
>>> Any suggestions will be appreciated.
>>> Best regards!
>>
>>
>>
>>
>> --
>> Best Regards,
>> Haosdent Huang
>>
>
>


-- 

https://github.com/mindscratch
https://www.google.com/+CraigWickesser
https://twitter.com/mind_scratch
https://twitter.com/craig_links

[Attachment #3 (text/html)]

<div dir="ltr">The mesos-slaves have their own UI separate from the master? If so, \
what&#39;s the URL to get to it? I just tried http://&lt;mesos-slave&gt;:5051 and got \
a blank page.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, \
Jul 28, 2015 at 6:51 AM, Adam Bordelon <span dir="ltr">&lt;<a \
href="mailto:adam@mesosphere.io" target="_blank">adam@mesosphere.io</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">A simple nginx reverse proxy will get you \
most of the way there, but only for the master webui. Since the tasks&#39; sandboxes \
are hosted on each slave&#39;s webui, you would also have to reverse proxy each \
slave&#39;s webui in order for sandboxes to be publicly accessible. More complicated, \
but not impossible.<br><br>Sounds like what you really want is: <a \
href="https://issues.apache.org/jira/browse/MESOS-2102" \
target="_blank">https://issues.apache.org/jira/browse/MESOS-2102</a><br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 27, 2015 at 5:55 AM, \
haosdent <span dir="ltr">&lt;<a href="mailto:haosdent@gmail.com" \
target="_blank">haosdent@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Does nginx could satisfy your requirement? You \
requests to nginx, and nginx reverse proxy the mesos master.</div><div \
class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Jul 27, 2015 at \
8:50 PM, sujz <span dir="ltr">&lt;<a href="mailto:43183345@qq.com" \
target="_blank">43183345@qq.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi, all,<br> <br>
I want to run mesos master/slave/framework in private IP, and exhibit mesos cluster \
status with a new public IP, this way can enhance safe and privacy protection of \
enterprise internal datacenter network.<br> <br>
After reading through the code, unfortunately, I didn&#39;t find where mesos-master \
binds listening ip and port to http server(please give me some hints), so I want to \
know how to implement communicating with slaves and frameworks with private IP and \
building http server with public IP for serving external http requests?<br> <br>
Any suggestions will be appreciated.<br>
Best regards!</blockquote></div><br><br clear="all"><span class="HOEnZb"><font \
color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font \
color="#888888"><span><font color="#888888">-- <br><div>Best \
Regards,<br><div>Haosdent Huang</div></div> </font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div \
dir="ltr"><div><pre style="font-family:Consolas,&#39;Liberation \
Mono&#39;,Courier,monospace;margin-top:15px;margin-bottom:15px;background-color:rgb(248,248,248);border:1px \
solid rgb(221,221,221);line-height:19px;overflow:auto;padding:6px \
10px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)"><div \
style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal"><a \
href="https://github.com/mindscratch" \
target="_blank">https://github.com/mindscratch</a><br><div><a \
href="https://www.google.com/+CraigWickesser" \
target="_blank">https://www.google.com/+CraigWickesser</a><br></div></div><div \
style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal"><a \
href="https://twitter.com/mind_scratch" \
target="_blank">https://twitter.com/mind_scratch</a><br></div><div \
style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal"><a \
href="https://twitter.com/craig_links" \
target="_blank">https://twitter.com/craig_links</a><br></div></pre></div></div></div> \
</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic