mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qian Zhang <zhq527...@gmail.com>
Subject Re: [ kubernets on mesos issue ]
Date Thu, 16 Jun 2016 00:01:55 GMT
Hi Bingqiang,

You need to start Mesos slave with Mesos containerizer rather than Docker
containerizer, so please change "--containerizers=docker" to
"--containerizers=mesos" (if you really need Docker containerizer, you can
specify "--containerizers=mesos,docker"), and try again.




Thanks,
Qian Zhang

On Thu, Jun 16, 2016 at 2:03 AM, haosdent <haosdent@gmail.com> wrote:

> Hi, pangbingqiang . Apache mailing list don't support image. So in our
> views, your images are lost. May you mind post your log as text?
>
> On Wed, Jun 15, 2016 at 5:59 PM, pangbingqiang <pangbingqiang@huawei.com>
> wrote:
>
> > Hi guys, recently I want run kubernets on mesos, I use project
> > https://github.com/kubernetes/kubernetes/tree/v1.2.4/contrib/mesos
> >
> > And operate as follow intruduce
> > http://kubernetes.io/docs/getting-started-guides/mesos/
> >
> >   Environment:
> >
> >       Mesos-master/slave version 0.28
> >
> >       Kubernets version 1.3
> >
> >
> >
> >   My mesos start param:
> >
> >    *   mesos-master --log_dir=/home/pangbingqiang/mesos_log/
> > --work_dir=/var/lib/mesos/ --zk=zk://xx.xxx.xxx.xxx:2188/mesos2
> --quorum=1
> > --ip=xx.xxx.xxx.xxx   *
> >
> > *       mesos-slave --hostname=xx.xxx.xxx.xxx
> > --log_dir=/home/pangbingqiang/mesos_log/ --work_dir=/var/lib/mesos/
> > --master=zk://xx.xxx.xxx.xxx:2188/mesos2
> > --isolation=cgroups/cpu,cgroups/mem  --containerizers=docker*
> >
> >
> >
> >   Kubernets start param:
> >
> >  *      ./etcd --listen-client-urls http://0.0.0.0:4001
> > <http://0.0.0.0:4001> --advertise-client-urls http://xx.xxx.xxx.xxx:4001
> > <http://10.175.102.230:4001>*
> >
> > *      km apiserver --insecure-bind-address="127.0.0.1"
> > --insecure-port=8080 --service-cluster-ip-range=10.0.0.0/24
> > <http://10.0.0.0/24> --etcd-servers=http://xx.xxx.xxx.xxx:4001
> > <http://xx.xxx.xxx.xxx:4001> --v=2 --cloud-provider=mesos
> > --cloud-config=mesos-cloud.conf --log_dir=../kubernets_log*
> >
> > *      km controller-manager --master=127.0.0.1:8080
> > <http://127.0.0.1:8080> --cloud-provider=mesos
> > --cloud-config=./mesos-cloud.conf --v=2 --log_dir=../kubernets_log
> > --logtostderr=false*
> >
> > *      km scheduler --address=xx.xxx.xxx.xxx
> > --mesos-master=${MESOS_MASTER} --etcd-servers=http://xx.xxx.xxx.xxx:4001
> > <http://xx.xxx.xxx.xxx:4001> --mesos-user=root
> > --api-servers=127.0.0.1:8080 <http://127.0.0.1:8080>
> > --cluster-dns=10.0.0.10 --cluster-domain=cluster.local --v=2
> > --log_dir=../kubernets_log --logtostderr=false*
> >
> >
> >
> > I can see kubernets registered success on mesos in master’s webui, but
> > when I creat a pod by kubectl it will have error, taskstate is LOST, my
> pod
> > RC file is:
> >
> >      [image: cid:image002.png@01D1C72D.98E3D9A0]
> >
> >
> >
> > The error log is as follow ;
> >
> > k8s scheduler log:
> >
> > [image: cid:image003.png@01D1C72D.E3ED4AD0]
> >
> >
> >
> > Mesos slave log :
> >
> > [image: cid:image004.png@01D1C72D.F01A3480]
> >
> >
> >
> > So ,anyone know, please let me know,thanks!
> >
> >
> >
> >
> >
> > [image: cid:image001.png@01D0E8C5.8D08F440]
> >
> >
> >
> > Bingqiang Pang(庞兵强)
> >
> >
> >
> > Distributed and Parallel Software Lab
> >
> > Huawei Technologies Co., Ltd.
> >
> > Email:pangbingqiang@huawei.com <suteng@huawei.com>
> >
> >
> >
> >
> >
>
>
>
> --
> Best Regards,
> Haosdent Huang
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message