Skip to content

Commit

Permalink
Update etcd to listen on 0.0.0.0, because we can no
Browse files Browse the repository at this point in the history
longer use dns-names see etcd-io/etcd#6336
  • Loading branch information
denverwilliams committed Feb 11, 2018
1 parent 5d0f2a9 commit a28aa73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion master-node1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ files:
#supervisor=start-stop-daemon
command=/usr/bin/etcd
command_args="--name master-node1 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node1.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node1.goppa-internal.io:2379 --listen-client-urls http://master-node1.goppa-internal.io:2379 --listen-peer-urls http://master-node1.goppa-internal.io:2380"
command_args="--name master-node1 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node1.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node1.goppa-internal.io:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380"
command_background="true"
start_stop_daemon_args="--stdout /var/log/etcd/${RC_SVCNAME}.log --stderr /var/log/etcd/${RC_SVCNAME}.log"
depend() {
Expand Down
2 changes: 1 addition & 1 deletion master-node2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ files:
#supervisor=start-stop-daemon
command=/usr/bin/etcd
command_args="--name master-node2 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node2.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node2.goppa-internal.io:2379 --listen-client-urls http://master-node2.goppa-internal.io:2379 --listen-peer-urls http://master-node2.goppa-internal.io:2380"
command_args="--name master-node2 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node2.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node2.goppa-internal.io:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380"
command_background="true"
start_stop_daemon_args="--stdout /var/log/etcd/${RC_SVCNAME}.log --stderr /var/log/etcd/${RC_SVCNAME}.log"
depend() {
Expand Down
2 changes: 1 addition & 1 deletion master-node3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ files:
#supervisor=start-stop-daemon
command=/usr/bin/etcd
command_args="--name master-node3 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node3.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node3.goppa-internal.io:2379 --listen-client-urls http://master-node3.goppa-internal.io:2379 --listen-peer-urls http://master-node3.goppa-internal.io:2380"
command_args="--name master-node3 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node3.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node3.goppa-internal.io:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380"
command_background="true"
start_stop_daemon_args="--stdout /var/log/etcd/${RC_SVCNAME}.log --stderr /var/log/etcd/${RC_SVCNAME}.log"
depend() {
Expand Down

0 comments on commit a28aa73

Please sign in to comment.