diff --git a/store/etcd/node.go b/store/etcd/node.go index cd80c9889..47caeb011 100644 --- a/store/etcd/node.go +++ b/store/etcd/node.go @@ -95,9 +95,6 @@ func (k *krypton) AddNode(name, endpoint, podname, cafile, certfile, keyfile str } key := fmt.Sprintf(nodeInfoKey, podname, name) - if _, err := k.etcd.Get(context.Background(), key, nil); err == nil { - return nil, fmt.Errorf("Node (%s, %s) already exists", podname, name) - } // 如果有tls的证书需要保存就保存一下 if cafile != "" && certfile != "" && keyfile != "" {