One of the benefit of running daemons in docker container is that the cluster can upgrade more easily. Take mesos as an example, if I can make mesos running in container, then when update mesos slave with some hot fixes, I can upgrade the mesos slave to a new version in an gray upgrade, i.e. ABtest etc.
On Fri, Nov 27, 2015 at 12:01 AM, Hongbin Lu <hongbin...@huawei.com> wrote: > Jay, > > > > Agree and disagree. Containerize some COE daemons will facilitate the > version upgrade and maintenance. However, I don’t think it is correct to > blindly containerize everything unless there is an investigation performed > to understand the benefits and costs of doing that. Quoted from Egor, the > common practice in k8s is to containerize everything except kublet, because > it seems it is just too hard to containerize everything. In the case of > mesos, I am not sure if it is a good idea to move everything to containers, > given the fact that it is relatively easy to manage and upgrade debian > packages at Ubuntu. However, in the new CoreOS mesos bay [1], meos daemons > will run at containers. > > > > In summary, I think the correct strategy is to selectively containerize > some COE daemons, but we don’t have to containerize **all** COE daemons. > > > > [1] https://blueprints.launchpad.net/magnum/+spec/mesos-bay-with-coreos > > > > Best regards, > > Hongbin > > > > *From:* Jay Lau [mailto:jay.lau....@gmail.com] > *Sent:* November-26-15 2:06 AM > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] [magnum] Using docker container to run COE > daemons > > > > Thanks Kai Qing, I filed a bp for mesos bay here > https://blueprints.launchpad.net/magnum/+spec/mesos-in-container > > > > On Thu, Nov 26, 2015 at 8:11 AM, Kai Qiang Wu <wk...@cn.ibm.com> wrote: > > Hi Jay, > > For the Kubernetes COE container ways, I think @Hua Wang is doing that. > > For the swarm COE, the swarm already has master and agent running in > container > > For the mesos, it still not have container work until now, Maybe someone > already draft bp on it ? Not quite sure > > > > Thanks > > Best Wishes, > > -------------------------------------------------------------------------------- > Kai Qiang Wu (吴开强 Kennan) > IBM China System and Technology Lab, Beijing > > E-mail: wk...@cn.ibm.com > Tel: 86-10-82451647 > Address: Building 28(Ring Building), ZhongGuanCun Software Park, > No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 > > -------------------------------------------------------------------------------- > Follow your heart. You are miracle! > > [image: Inactive hide details for Jay Lau ---26/11/2015 07:15:59 am---Hi, > It is becoming more and more popular to use docker container]Jay Lau > ---26/11/2015 07:15:59 am---Hi, It is becoming more and more popular to use > docker container run some > > From: Jay Lau <jay.lau....@gmail.com> > To: OpenStack Development Mailing List <openstack-dev@lists.openstack.org> > Date: 26/11/2015 07:15 am > Subject: [openstack-dev] [magnum] Using docker container to run COE > daemons > ------------------------------ > > > > > Hi, > > It is becoming more and more popular to use docker container run some > applications, so what about leveraging this in Magnum? > > What I want to do is that we can put all COE daemons running in docker > containers, because now Kubernetes, Mesos and Swarm support running in > docker container and there are already some existing docker > images/dockerfiles which we can leverage. > > So what about update all COE templates to use docker container to run COE > daemons and maintain some dockerfiles for different COEs in Magnum? This > can reduce the maintain effort for COE as if there are new versions and we > want to upgrade, just update the dockerfile is enough. Comments? > > -- > Thanks, > > Jay Lau (Guangya Liu) > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > > -- > > Thanks, > > Jay Lau (Guangya Liu) > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Thanks, Jay Lau (Guangya Liu)
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev