Unverified Commit 71bafd1f authored by Alena Prokharchyk's avatar Alena Prokharchyk Committed by GitHub
Browse files

Merge pull request #505 from superseb/etcd_listenaddress

Let etcd only listen on advertised url
parents dc862ed5 df3e75b1
Showing with 2 additions and 2 deletions
+2 -2
......@@ -541,9 +541,9 @@ func (c *Cluster) BuildEtcdProcess(host *hosts.Host, etcdHosts []*hosts.Host, pr
"name": "etcd-" + host.HostnameOverride,
"data-dir": "/var/lib/rancher/etcd",
"advertise-client-urls": "https://" + host.InternalAddress + ":2379,https://" + host.InternalAddress + ":4001",
"listen-client-urls": "https://0.0.0.0:2379",
"listen-client-urls": "https://" + host.InternalAddress + ":2379",
"initial-advertise-peer-urls": "https://" + host.InternalAddress + ":2380",
"listen-peer-urls": "https://0.0.0.0:2380",
"listen-peer-urls": "https://" + host.InternalAddress + ":2380",
"initial-cluster-token": "etcd-cluster-1",
"initial-cluster": initCluster,
"initial-cluster-state": clusterState,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment