Browse Source

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
Emma Gordon 3 years ago
parent
commit
bbfa58c3a0
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      deployment_scripts/calico_compute.sh

+ 1
- 0
deployment_scripts/calico_compute.sh View File

@@ -56,6 +56,7 @@ mv tmp /etc/init/etcd.conf
56 56
 cat << EXEC_CMD >> /etc/init/etcd.conf
57 57
 exec /usr/bin/etcd -proxy on                                                         \\
58 58
                    -listen-client-urls http://127.0.0.1:4001                         \\
59
+                   -advertise-client-urls http://127.0.0.1:7001                      \\
59 60
                    -initial-cluster controller=http://${controller_node_address}:2380
60 61
 EXEC_CMD
61 62
 service etcd start

Loading…
Cancel
Save