From 24a0e5618ac9b9ca8bbccc56b92691b3c2ec7cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Meireles?= Date: Tue, 5 May 2015 11:55:29 +0100 Subject: [PATCH] skydns: use the etcd-2.x native syntax, enable IANA attributed ports. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit per https://github.com/coreos/etcd/blob/master/Documentation/backward_compatibility.md (there are no functional changes, we just stop using the legacy flags, for consistency.) Signed-off-by: António Meireles --- cluster/addons/dns/skydns-rc.yaml.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cluster/addons/dns/skydns-rc.yaml.in b/cluster/addons/dns/skydns-rc.yaml.in index d29748c2d6d..cd726ebf009 100644 --- a/cluster/addons/dns/skydns-rc.yaml.in +++ b/cluster/addons/dns/skydns-rc.yaml.in @@ -22,11 +22,12 @@ spec: image: gcr.io/google_containers/etcd:2.0.9 command: - /usr/local/bin/etcd - - --addr - - 127.0.0.1:4001 - - --bind-addr - - 127.0.0.1:4001 - - -initial-cluster-token=skydns-etcd + - -listen-client-urls + - http://127.0.0.1:2379,http://127.0.0.1:4001 + - -advertise-client-urls + - http://127.0.0.1:2379,http://127.0.0.1:4001 + - -initial-cluster-token + - skydns-etcd - name: kube2sky image: gcr.io/google_containers/kube2sky:1.4 args: