From a5fb29a6f053f724ea8cd7360153dcc7be542ca4 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 11 Nov 2020 11:06:23 +0800 Subject: [PATCH] update etcd yaml to avoid no such nost resolve problem --- core/discov/kubernetes/etcd.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/discov/kubernetes/etcd.yaml b/core/discov/kubernetes/etcd.yaml index 06dd01c2..a44ce303 100644 --- a/core/discov/kubernetes/etcd.yaml +++ b/core/discov/kubernetes/etcd.yaml @@ -35,7 +35,7 @@ spec: - --listen-client-urls - http://0.0.0.0:2379 - --advertise-client-urls - - http://etcd0:2379 + - http://etcd0.discov:2379 - --initial-cluster - etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380,etcd4=http://etcd4:2380 - --initial-cluster-state @@ -107,7 +107,7 @@ spec: - --listen-client-urls - http://0.0.0.0:2379 - --advertise-client-urls - - http://etcd1:2379 + - http://etcd1.discov:2379 - --initial-cluster - etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380,etcd4=http://etcd4:2380 - --initial-cluster-state @@ -179,7 +179,7 @@ spec: - --listen-client-urls - http://0.0.0.0:2379 - --advertise-client-urls - - http://etcd2:2379 + - http://etcd2.discov:2379 - --initial-cluster - etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380,etcd4=http://etcd4:2380 - --initial-cluster-state @@ -251,7 +251,7 @@ spec: - --listen-client-urls - http://0.0.0.0:2379 - --advertise-client-urls - - http://etcd3:2379 + - http://etcd3.discov:2379 - --initial-cluster - etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380,etcd4=http://etcd4:2380 - --initial-cluster-state @@ -323,7 +323,7 @@ spec: - --listen-client-urls - http://0.0.0.0:2379 - --advertise-client-urls - - http://etcd4:2379 + - http://etcd4.discov:2379 - --initial-cluster - etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380,etcd4=http://etcd4:2380 - --initial-cluster-state