From c6f1dbf28ef6657d7cf493a2f80d1190392343fe Mon Sep 17 00:00:00 2001 From: lingyu Date: Fri, 16 Aug 2024 17:44:39 +0800 Subject: [PATCH] update the docs Signed-off-by: lingyu --- docs/advanced/debug.md | 2 +- .../current/advanced/debug.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/advanced/debug.md b/docs/advanced/debug.md index 650bad068e..e0f86089bd 100644 --- a/docs/advanced/debug.md +++ b/docs/advanced/debug.md @@ -83,7 +83,7 @@ sidebar_position: 3 2. Update `edgecore` configuration to enable **edgeStream**. - This modification needs to be done all edge system where `edgecore` runs to update `/etc/kubeedge/config/cloudcore.yaml`. + This modification needs to be done all edge system where `edgecore` runs to update `/etc/kubeedge/config/edgecore.yaml`. Make sure the `server` IP address to the cloudcore IP (the same as $CLOUDCOREIPS). ```yaml diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/advanced/debug.md b/i18n/zh/docusaurus-plugin-content-docs/current/advanced/debug.md index 28b5a86e76..ad90c664c0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/advanced/debug.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/advanced/debug.md @@ -62,9 +62,9 @@ sidebar_position: 3 ## 更新配置 -1. 分别调整 cloudcore 上的 `/etc/kubeedge/config/cloudcore.yaml` 和 edgecore 上的 `/etc/kubeedge/config/edgecore.yaml` 。调整 **cloudStream** 和 **edgeStream** 为 `enable: true`,并且改变server IP 为 cloudcore IP (和 $CLOUDCOREIPS 相同)。 +1. 更新 cloudcore 的配置使 CloudStream 生效。 +如果 cloudcore 是以二进制方式安装的,您可以直接使用编辑器修改 /etc/kubeedge/config/cloudcore.yaml。如果 cloudcore是以容器方式运行,您可以直接使用 kubectl edit cm -n kubeedge cloudcore 来更新 cloudcore 的 ConfigMap。 - cloudcore调整 `/etc/kubeedge/config/cloudcore.yaml`: ```yaml cloudStream: enable: true @@ -77,8 +77,8 @@ sidebar_position: 3 tlsTunnelPrivateKeyFile: /etc/kubeedge/certs/server.key tunnelPort: 10004 ``` - - edgecore调整 `/etc/kubeedge/config/edgecore.yaml`: +1. 更新 edgecore 的配置使 EdgeStream 生效。 + 此修改需要在 edgecore 运行所在的边缘节点上进行,更新 /etc/kubeedge/config/edgecore.yaml,确保 server IP 地址为 cloudcore IP (与 $CLOUDCOREIPS 相同)。 ``` yaml edgeStream: enable: true