diff --git a/docs/advanced/debug.md b/docs/advanced/debug.md index e0f86089b..dc087c893 100644 --- a/docs/advanced/debug.md +++ b/docs/advanced/debug.md @@ -63,7 +63,7 @@ sidebar_position: 3 ## Update Configurations -1. Update `cloudcore` configuration to enable **cloudStream**. +1. Update `cloudcore` configuration to enable **cloudStream**. (The new version has this feature enabled by default in the cloud, so this configuration can be skipped.) If `cloudcore` is installed as binary, you can directly modify `/etc/kubeedge/config/cloudcore.yaml` with using editor. If `cloudcore` is running as kubernetes deployment, you can use `kubectl edit cm -n kubeedge cloudcore` to update `cloudcore`'s ConfigurationMap. @@ -102,7 +102,8 @@ sidebar_position: 3 1. Restart all the cloudcore and edgecore to apply the **Stream** configuration. - If `cloudcore` is installed as binary: + If `cloudcore` is installed as binary (If the `cloudcore.yaml` has not been updated, there is no need to restart.) +: ```shell sudo systemctl restart cloudcore.service ``` 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 ad90c664c..80e26cfa1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/advanced/debug.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/advanced/debug.md @@ -1,5 +1,5 @@ --- -title: 启用 Kubectl logs/exec/attach 边端运行的 pod +title: 启用 Kubectl logs/exec/attach 操作边缘 pods sidebar_position: 3 --- @@ -62,7 +62,7 @@ sidebar_position: 3 ## 更新配置 -1. 更新 cloudcore 的配置使 CloudStream 生效。 +1. 更新 cloudcore 的配置使 CloudStream 生效 (新版本云端已默认开启,可跳过本配置) 如果 cloudcore 是以二进制方式安装的,您可以直接使用编辑器修改 /etc/kubeedge/config/cloudcore.yaml。如果 cloudcore是以容器方式运行,您可以直接使用 kubectl edit cm -n kubeedge cloudcore 来更新 cloudcore 的 ConfigMap。 ```yaml @@ -95,7 +95,7 @@ sidebar_position: 3 1. 重新启动 cloudcore 和 edgecore 让配置生效。 - 在云端: + 在云端(若 cloudcore.yaml 未更新,则无需重启): ``` shell sudo systemctl restart cloudcore.service ```