mesos 集群安装部署mesos-dns
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mesos 集群安装部署mesos-dns相关的知识,希望对你有一定的参考价值。
###############################################################
mesos-dns
###############################################################
http://www.zoues.com/index.php/2016/01/13/mesos-dns-1/
https://open.mesosphere.com/advanced-course/building-and-running-mesos-dns/
http://mesosphere.github.io/mesos-dns/docs/configuration-parameters.html
Install the Go programming language:
yum -y install golang git bind-utils
Then build the mesos-dns project:
mkdir ~/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
go get github.com/tools/godep
go get github.com/mesosphere/mesos-dns
cd $GOPATH/src/github.com/mesosphere/mesos-dns
godep go build .
cd /root/go/src/github.com/mesosphere/mesos-dns
mv config.json.sample config.json
[[email protected] mesos-dns]# more config.json
{
"zk": "zk://172.16.7.11:2181,172.16.7.12:2181,172.16.7.13:2181/mesos",
"masters": ["172.16.7.11:5050","172.16.7.12:5050","172.16.7.13:5050"],
"refreshSeconds": 60,
"ttl": 60,
"domain": "mesos",
"port": 53,
"resolvers": ["219.150.32.132"],
"timeout": 5,
"httpon": true,
"dnson": true,
"httpport": 8123,
"externalon": true,
"listener": "172.16.7.12",
"SOAMname": "ns1.mesos",
"SOARname": "root.ns1.mesos",
"SOARefresh": 60,
"SOARetry": 600,
"SOAExpire": 86400,
"SOAMinttl": 60,
"IPSources": ["netinfo", "mesos", "host"]
}
./mesos-dns -config=config.json &
本文出自 “康建华” 博客,转载请与作者联系!
以上是关于mesos 集群安装部署mesos-dns的主要内容,如果未能解决你的问题,请参考以下文章