Set advertise-client-urls value in compute host etcd config (required due to change in etcd version, to 2.0.11, in recent Calico release).
Change-Id: I8a793f6e77618d16d01ab6277f9627fadcf40e26
This commit is contained in:
parent
a25d0b87de
commit
bbfa58c3a0
|
@ -56,6 +56,7 @@ mv tmp /etc/init/etcd.conf
|
||||||
cat << EXEC_CMD >> /etc/init/etcd.conf
|
cat << EXEC_CMD >> /etc/init/etcd.conf
|
||||||
exec /usr/bin/etcd -proxy on \\
|
exec /usr/bin/etcd -proxy on \\
|
||||||
-listen-client-urls http://127.0.0.1:4001 \\
|
-listen-client-urls http://127.0.0.1:4001 \\
|
||||||
|
-advertise-client-urls http://127.0.0.1:7001 \\
|
||||||
-initial-cluster controller=http://${controller_node_address}:2380
|
-initial-cluster controller=http://${controller_node_address}:2380
|
||||||
EXEC_CMD
|
EXEC_CMD
|
||||||
service etcd start
|
service etcd start
|
||||||
|
|
Loading…
Reference in New Issue