Setup Mesos-DNS dockerized on a mesos cluster

前端 未结 1 1912
醉酒成梦
醉酒成梦 2021-01-15 10:20

I\'m facing some trouble trying to run mesos-dns dockerized on a mesos cluster.

I\'ve setup 2 virtual machines with ubuntu trusty on a windows 8.1 host. My VMs are c

1条回答
  •  孤城傲影
    2021-01-15 11:00

    Have a look at the Mesos DNS docs regarding Slave Setup:

    To allow Mesos tasks to use Mesos-DNS as the primary DNS server, you must edit the file /etc/resolv.conf in every slave and add a new nameserver. For instance, if mesos-dns runs on the server with IP address 10.181.64.13, you should add the line nameserver 10.181.64.13 at the beginning of /etc/resolv.conf on every slave node.

    I think the local IP (192.168.56.102) address is missing in your /etc/resolv.conf.

    Otherwise, you can also try my minimal Mesos DNS image, but you'd still have to edit the above file.

    0 讨论(0)
提交回复
热议问题