From 4b12a21acff5d6bfc99618d193222ef1136c3eb7 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Wed, 7 Sep 2016 10:22:12 -0700 Subject: [PATCH] examples/ignition: Fix etcd peer listen urls to use IPs * See github.com/coreos/etcd/pull/6365 --- examples/ignition/bootkube-controller.yaml | 2 +- examples/ignition/etcd.yaml | 2 +- examples/ignition/etcd3.yaml | 2 +- examples/ignition/k8s-master.yaml | 2 +- examples/ignition/rktnetes-controller.yaml | 2 +- examples/ignition/torus.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/ignition/bootkube-controller.yaml b/examples/ignition/bootkube-controller.yaml index d5398959..6df153c1 100644 --- a/examples/ignition/bootkube-controller.yaml +++ b/examples/ignition/bootkube-controller.yaml @@ -11,7 +11,7 @@ systemd: Environment="ETCD_ADVERTISE_CLIENT_URLS=http://{{.domain_name}}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=http://{{.domain_name}}:2380" Environment="ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379" - Environment="ETCD_LISTEN_PEER_URLS=http://{{.domain_name}}:2380" + Environment="ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380" Environment="ETCD_INITIAL_CLUSTER={{.etcd_initial_cluster}}" Environment="ETCD_STRICT_RECONFIG_CHECK=true" - name: flanneld.service diff --git a/examples/ignition/etcd.yaml b/examples/ignition/etcd.yaml index eb4bc56c..d99c4b40 100644 --- a/examples/ignition/etcd.yaml +++ b/examples/ignition/etcd.yaml @@ -11,7 +11,7 @@ systemd: Environment="ETCD_ADVERTISE_CLIENT_URLS=http://{{.domain_name}}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=http://{{.domain_name}}:2380" Environment="ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379" - Environment="ETCD_LISTEN_PEER_URLS=http://{{.domain_name}}:2380" + Environment="ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380" Environment="ETCD_INITIAL_CLUSTER={{.etcd_initial_cluster}}" Environment="ETCD_STRICT_RECONFIG_CHECK=true" diff --git a/examples/ignition/etcd3.yaml b/examples/ignition/etcd3.yaml index d6100670..046ab96f 100644 --- a/examples/ignition/etcd3.yaml +++ b/examples/ignition/etcd3.yaml @@ -22,7 +22,7 @@ systemd: -advertise-client-urls=http://{{.domain_name}}:2379 \ -initial-advertise-peer-urls=http://{{.domain_name}}:2380 \ -listen-client-urls=http://0.0.0.0:2379 \ - -listen-peer-urls=http://{{.domain_name}}:2380 \ + -listen-peer-urls=http://0.0.0.0:2380 \ -initial-cluster={{.etcd_initial_cluster}} \ -data-dir=/var/lib/etcd3 Restart=always diff --git a/examples/ignition/k8s-master.yaml b/examples/ignition/k8s-master.yaml index d8fa34a5..8608845d 100644 --- a/examples/ignition/k8s-master.yaml +++ b/examples/ignition/k8s-master.yaml @@ -11,7 +11,7 @@ systemd: Environment="ETCD_ADVERTISE_CLIENT_URLS=http://{{.domain_name}}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=http://{{.domain_name}}:2380" Environment="ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379" - Environment="ETCD_LISTEN_PEER_URLS=http://{{.domain_name}}:2380" + Environment="ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380" Environment="ETCD_INITIAL_CLUSTER={{.etcd_initial_cluster}}" Environment="ETCD_STRICT_RECONFIG_CHECK=true" - name: flanneld.service diff --git a/examples/ignition/rktnetes-controller.yaml b/examples/ignition/rktnetes-controller.yaml index 8dd73ab2..43430b2d 100644 --- a/examples/ignition/rktnetes-controller.yaml +++ b/examples/ignition/rktnetes-controller.yaml @@ -11,7 +11,7 @@ systemd: Environment="ETCD_ADVERTISE_CLIENT_URLS=http://{{.domain_name}}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=http://{{.domain_name}}:2380" Environment="ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379" - Environment="ETCD_LISTEN_PEER_URLS=http://{{.domain_name}}:2380" + Environment="ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380" Environment="ETCD_INITIAL_CLUSTER={{.etcd_initial_cluster}}" Environment="ETCD_STRICT_RECONFIG_CHECK=true" - name: flanneld.service diff --git a/examples/ignition/torus.yaml b/examples/ignition/torus.yaml index e19cd83c..f5b26738 100644 --- a/examples/ignition/torus.yaml +++ b/examples/ignition/torus.yaml @@ -22,7 +22,7 @@ systemd: -advertise-client-urls=http://{{.domain_name}}:2379 \ -initial-advertise-peer-urls=http://{{.domain_name}}:2380 \ -listen-client-urls=http://0.0.0.0:2379 \ - -listen-peer-urls=http://{{.domain_name}}:2380 \ + -listen-peer-urls=http://0.0.0.0:2380 \ -initial-cluster={{.etcd_initial_cluster}} \ -data-dir=/var/lib/etcd3 Restart=always