diff --git a/web/views/@default/clusters/cluster/createNode.html b/web/views/@default/clusters/cluster/createNode.html index c0ee6d28..c25a9fe6 100644 --- a/web/views/@default/clusters/cluster/createNode.html +++ b/web/views/@default/clusters/cluster/createNode.html @@ -143,10 +143,9 @@
-
上传边缘节点程序到服务器并解压,然后在边缘节点安装目录下,复制configs/api.template.yamlconfigs/api.yaml,修改文件里面的内容为以下内容:
+
上传边缘节点程序到服务器并解压,然后在边缘节点安装目录下,复制configs/api_node.template.yamlconfigs/api_node.yaml,修改文件里面的内容为以下内容:
- rpc: - endpoints: [ {{apiEndpoints}} ] + rpc.endpoints: [ {{apiEndpoints}} ] nodeId: "{{node.uniqueId}}" secret: "{{node.secret}}"
diff --git a/web/views/@default/clusters/cluster/node/install.html b/web/views/@default/clusters/cluster/node/install.html index 9d812da0..3f1e62bf 100644 --- a/web/views/@default/clusters/cluster/node/install.html +++ b/web/views/@default/clusters/cluster/node/install.html @@ -61,14 +61,19 @@ - 配置文件(configs/api.yaml)
- [下载] + 配置文件 - rpc: - endpoints: [ {{apiEndpoints}} ] + configs/api_node.yaml   + [下载] + + + + 配置内容 + + rpc.endpoints: [ {{apiEndpoints}} ] nodeId: "{{node.uniqueId}}" secret: "{{node.secret}}" -

手动替换edge-node安装目录下的configs/api.yaml文件,然后重新启动生效;如果此文件不存在,则需要创建。

+

手动替换edge-node安装目录下的configs/api_node.yaml文件,然后重新启动生效;如果此文件不存在,则需要创建。

@@ -92,11 +97,14 @@ secret: "{{node.secret}}"

配置文件

- + + + +
配置文件(configs/api.yaml)
- [下载]
配置文件 - rpc: - endpoints: [ {{apiEndpoints}} ] + configs/api_node.yaml   [下载] +
配置内容 + rpc.endpoints: [ {{apiEndpoints}} ] nodeId: "{{node.uniqueId}}" secret: "{{node.secret}}"