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

List:       mesos-user
Subject:    Re: mesos-slave configuration file with Ports Offer
From:       "Miguel =?UTF-8?Q?Aus=C3=B3?=" <m.auso.p () gmail ! com>
Date:       2015-11-14 8:04:57
Message-ID: 1447488297261.505cf47 () Nodemailer
[Download RAW message or body]

Hi  



True, now its working, but you need remove the tmp folder if you want change any configuration  


Thanks  



—
Un Saludo

Miguel Ángel Ausó

On Fri, Nov 13, 2015 at 1:14 PM, craig w <codecraig@gmail.com> wrote:

> Miguel, create a file named: /etc/mesos-slave/resources/ports(*)
> It should contain: [21000-24000]
> On Fri, Nov 13, 2015 at 6:30 AM, Miguel Ángel Ausó <m.auso.p@gmail.com>
> wrote:
>> Hi
>>
>> I'm trying configure "port offers" in mesos-slave using a configuration
>> file (I'm using mesosphere package), I know that I can use the "--resource"
>> option in start command, but I need to know if it's possible using a
>> configuration file, the same that other option, for exemple gc-delay or
>> master configuration
>>
>> I tried with differents formats in
>> /etc/mesos-slave/resources/ports
>> [21000-24000]
>> ports:[21000-24000]
>> *:[21000-24000]
>> 21000-24000
>>
>> thanks!!
>>
>>
>>
> -- 
> https://github.com/mindscratch
> https://www.google.com/+CraigWickesser
> https://twitter.com/mind_scratch
> https://twitter.com/craig_links
[Attachment #3 (text/html)]

<div>Hi  </div>
<div><br></div>True, now its working, but you need remove the tmp folder if you want \
change any configuration  <div><br></div> <div>Thanks  </div>
<div class="mailbox_signature">
<br>—<br>Un Saludo<br><br>Miguel Ángel Ausó</div>
<br><br><div class="gmail_quote"><p>On Fri, Nov 13, 2015 at 1:14 PM, craig w <span \
dir="ltr">&lt;<a href="mailto:codecraig@gmail.com" \
target="_blank">codecraig@gmail.com</a>&gt;</span> wrote:<br></p><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"><div> <div dir="ltr">
<div>Miguel, create a file named: /etc/mesos-slave/resources/ports(*)<br><br></div>
<div>It should contain: [21000-24000]<br></div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Fri, Nov 13, 2015 at 6:30 AM, Miguel Ángel Ausó \
<span dir="ltr">&lt;<a \
href="mailto:m.auso.p@gmail.com">m.auso.p@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">
<div class="gmail_quote"><div dir="ltr">
<div>
<div>Hi</div>
<div><br></div>
<div>I'm trying configure "port offers" in mesos-slave using a configuration file \
(I'm using mesosphere package), I know that I can use the "--resource" option in \
start command, but I need to know if it's possible using a configuration file, the \
same that other option, for exemple gc-delay or master configuration</div> </div>
<div><br></div>
<div>I tried with differents formats in  </div>
<div>/etc/mesos-slave/resources/ports      <br></div>
<div>[21000-24000]  <br></div>
<div>ports:[21000-24000]  </div>
<div>*:[21000-24000]  </div>
<div>21000-24000<br></div>
<div><br></div>
<div>thanks!!</div>
<div>
<div><br></div>
<br></div>
</div></div>
</div>
</blockquote>
</div>
<br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><pre \
style="font-family:Consolas,'Liberation \
Mono',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">https://github.com/mindscratch</a><br><div>
<a href="https://www.google.com/+CraigWickesser">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">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">https://twitter.com/craig_links</a><br></div></pre></div></div></div>
 </div>
</div></blockquote></div><br>



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

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