Skip to content

Commit

Permalink
update the docs
Browse files Browse the repository at this point in the history
Signed-off-by: lingyu <[email protected]>
  • Loading branch information
Catherine-monk committed Aug 16, 2024
1 parent 659ca0e commit c6f1dbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c6f1dbf

Please sign in to comment.