Re: Docker Containerizer: custom name possible?

2016-02-11 Thread tommy xiao
Hi Ed, the prefix name is defined in docker.hpp, ``` 77 const string DOCKER_NAME_PREFIX = "mesos-"; ``` if you have more concerns on the request, please file a issue to discussion. 2016-02-11 7:34 GMT+08:00 Edward Burns : > Hello Mesosphere, > > I have a newbie question. Looking at [1] I

Re: Docker Containerizer: custom name possible?

2016-02-11 Thread haosdent
> I'm trying to do some log disambiguation and it would be handy if I could inject a custom string into the name. If you want inject inside container, the name stored in MESOS_CONTAINER_NAME. If you want inject outside, you could get it by /state endpoint. The container name is combined by DOCKER_

ApacheCon NA 2016 - Important Dates!!!

2016-02-11 Thread Melissa Warnkin
Hello everyone! I hope this email finds you well.  I hope everyone is as excited about ApacheCon as I am! I'd like to remind you all of a couple of important dates, as well as ask for your assistance in spreading the word! Please use your social media platform(s) to get the word out! The more v

Using Virtual Hosts

2016-02-11 Thread Alfredo Carneiro
Hi guys, I have been searching for the past few weeks about Mesos and VHosts, saddly, I have not found anything useful. I have a mesos cluster running some webapps. So, I have assigned specifc ports to these apps, so I access this apps using *http://:*. How could I use Virtual Hosts to access the

Announcing MesosCon North America 2016

2016-02-11 Thread Kiersten Gaffney
Hello all, We’re excited to announce that MesosCon North America 2016 will be held in Denver, CO on June 1-2, 2016. MesosCon is a community-driven conference, organized for the Apache Mesos community. Talk submissions, sponsorship opportunities, and early-bird registration are now open for the c

Re: Using Virtual Hosts

2016-02-11 Thread Shuai Lin
Since you already have haproxy running, why not use it as a reverse proxy? On Fri, Feb 12, 2016 at 3:31 AM, Alfredo Carneiro < alfr...@simbioseventures.com> wrote: > Hi guys, > > I have been searching for the past few weeks about Mesos and VHosts, > saddly, I have not found anything useful. > > I

Re: Using Virtual Hosts

2016-02-11 Thread Alfredo Carneiro
But how can I assign a domain to a task using haproxy? On Feb 11, 2016 8:29 PM, "Shuai Lin" wrote: > Since you already have haproxy running, why not use it as a reverse proxy? > > On Fri, Feb 12, 2016 at 3:31 AM, Alfredo Carneiro < > alfr...@simbioseventures.com> wrote: > >> Hi guys, >> >> I have

Re: Using Virtual Hosts

2016-02-11 Thread Tomek Janiszewski
Hi Alfredo Have you seen https://github.com/mesosphere/marathon-lb or https://github.com/martensson/nixy I'm not sure if they will work straightforward with Chronos but you can pool Mesos for it's tasks (like https://github.com/CiscoCloud/mesos-consul does). pt., 12.02.2016 o 00:45 użytkownik Alfr

Re: Using Virtual Hosts

2016-02-11 Thread Shuai Lin
Ok, seems I misunderstood a little bit. So the tasks are managed by chronos? Then you should follow Tomek's advice, using service discovery tool like mesos-consul (maybe together with consul template). Another less flexible but simpler solution is to list all the slaves in haproxy backends, e.g.

Re: Using Virtual Hosts

2016-02-11 Thread Alfredo Carneiro
Thanks guys. I will take a look in your solutions and let you know if everything is all right :) On Feb 11, 2016 9:03 PM, "Shuai Lin" wrote: > Ok, seems I misunderstood a little bit. So the tasks are managed by > chronos? Then you should follow Tomek's advice, using service discovery > tool like

Re: Using Virtual Hosts

2016-02-11 Thread Abhishek Amralkar
Hi , We do use Traefik to act sa loadbalancer for our webapss. It supports multiple backends. https://github.com/emilevauge/traefik -Abhishek From: Alfredo Carneiro Reply-To: "user@mesos.apache.org" Date: Thursday, 11 February 2016

Re: Using Virtual Hosts

2016-02-11 Thread Jeff Schroeder
With a few of the newly added features, marathon-lb is actually a pretty elegant solution: https://github.com/mesosphere/marathon-lb On Thursday, February 11, 2016, Alfredo Carneiro < alfr...@simbioseventures.com> wrote: > Hi guys, > > I have been searching for the past few weeks about Mesos and

Re: Using Virtual Hosts

2016-02-11 Thread Marco Massenzio
How are you launching your tasks and are they containerized? If you use your own framework and launch tasks in containers, you can configure the networking mode as BRIDGED (in ContainerInfo), and your Framework will obtain (in the response / callback it receives after the task is launched) the por