Last active
July 5, 2016 23:31
-
-
Save v1k0d3n/99a6c6f040350120e0a1993a0048ac22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Kubernetes ETCD Server Cluster Information | |
_etcd-server._tcp.jinkit.com. 300 IN SRV 0 0 2380 kubetcd01.jinkit.com. | |
_etcd-server._tcp.jinkit.com. 300 IN SRV 0 0 2380 kubetcd02.jinkit.com. | |
_etcd-server._tcp.jinkit.com. 300 IN SRV 0 0 2380 kubetcd03.jinkit.com. | |
; Kubernetes ETCD Client Cluster Information | |
_etcd-client._tcp.jinkit.com. 300 IN SRV 0 0 2379 kubetcd01.jinkit.com. | |
_etcd-client._tcp.jinkit.com. 300 IN SRV 0 0 2379 kubetcd02.jinkit.com. | |
_etcd-client._tcp.jinkit.com. 300 IN SRV 0 0 2379 kubetcd03.jinkit.com. | |
; Kubernetes ETCD Client Cluster Information | |
kubetcd01 IN A 192.168.1.61 | |
kubetcd02 IN A 192.168.1.62 | |
kubetcd03 IN A 192.168.1.63 | |
docker run -d --name kubetcd02 -h kubetcd02.jinkit.com \ | |
--dns 192.168.1.70 \ | |
-p 2379:2379 -p 2380:2380 -p 4001:4001 \ | |
-v /Users/bjozsa/Development/Etcd/kubetcd02.jinkit.com/data:/var/lib/etcd \ | |
quay.io/coreos/etcd:v3.0.1 \ | |
etcd --name kubetcd02 \ | |
--discovery-srv jinkit.com \ | |
--initial-advertise-peer-urls http://kubetcd02.jinkit.com:2380 \ | |
--initial-cluster-token jinkit-etcd-01 \ | |
--initial-cluster-state new \ | |
--advertise-client-urls http://kubetcd02.jinkit.com:2379,http://kubetcd02.jinkit.com:4001 \ | |
--listen-client-urls http://kubetcd02.jinkit.com:2379,http://kubetcd02.jinkit.com:4001 \ | |
--listen-peer-urls http://kubetcd02.jinkit.com:2380 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run -d --name kubetcd03 -h kubetcd03.jinkit.com
--dns 192.168.1.70
-p 2379:2379 -p 2380:2380 -p 4001:4001
-v /Users/bjozsa/Development/Etcd/kubetcd03.jinkit.com/data:/var/lib/etcd
quay.io/coreos/etcd:v3.0.1
etcd --name kubetcd03
--discovery-srv jinkit.com
--initial-advertise-peer-urls http://kubetcd03.jinkit.com:2380
--initial-cluster-token jinkit-etcd-01
--initial-cluster-state new
--advertise-client-urls http://kubetcd03.jinkit.com:2379,http://kubetcd03.jinkit.com:4001
--listen-client-urls http://kubetcd03.jinkit.com:2379,http://kubetcd03.jinkit.com:4001
--listen-peer-urls http://kubetcd03.jinkit.com:2380