Skip to content

Commit

Permalink
explicitly name etcd nodes.
Browse files Browse the repository at this point in the history
addresses issue catched by @hobti01 in ongoing review

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
  • Loading branch information
AntonioMeireles committed Apr 21, 2015
1 parent e0c14b1 commit 696580b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
hostname: master
coreos:
etcd2:
name: ${DEFAULT_IPV4}
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
advertise-client-urls: http://<master-private-ip>:2379,http://<master-private-ip>:4001
initial-cluster-token: k8s_etcd
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started-guides/coreos/cloud-configs/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ write-files:
--silent --head --fail \
http://${1}:${2}; do sleep 1 && echo -n .; done;
exit $?
hostname: node
coreos:
etcd2:
name: ${DEFAULT_IPV4}
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
initial-cluster: master=http://<master-private-ip>:2380
proxy: on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ write_files:
hostname: standalone
coreos:
etcd2:
name: ${DEFAULT_IPV4}
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
advertise-client-urls: http://<master-private-ip>:2379,http://<master-private-ip>:4001
initial-cluster-token: k8s_etcd
Expand Down

0 comments on commit 696580b

Please sign in to comment.