Skip to content

Commit

Permalink
Merge pull request #482 from JiaweiGithub/feat/fixdocerror
Browse files Browse the repository at this point in the history
May use helm to install cloudcore,edge-kube-api.md modified
  • Loading branch information
kubeedge-bot authored Jul 19, 2023
2 parents 7d6db00 + 65c4d68 commit b795549
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/guide/edge-kube-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ In case you have installed cloudcore using keadm, the configuration file will no
```
keadm init --advertise-address="THE-EXPOSED-IP" --profile version=v1.12.1 --kube-config=/root/.kube/config --set cloudCore.modules.dynamicController.enable=true
```

In case you have installed cloudcore using helm,update cloudcore configmap.After the configuration is complete, you need to restart cloudcore pod
```yaml
$ kubectl edit cm cloudcore -n kubeedge
modules:
...
dynamicController:
enable: true
...
```

- **Step 2**: At the edge node, open the metaServer module (if your KubeEdge < 1.8.0, you need to close the old edgeMesh module). After the configuration is complete, you need to restart edgecore

Expand Down
13 changes: 13 additions & 0 deletions docs/zh/guide/edge-kube-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ modules:
dynamicController:
enable: true
...
```
如果使用 keadm 安裝了 cloudcore,配置文件可能不存在,可以使用命令启用它
```
keadm init --advertise-address="THE-EXPOSED-IP" --profile version=v1.12.1 --kube-config=/root/.kube/config --set cloudCore.modules.dynamicController.enable=true
```
如果云端是helm安装,修改cloudcore configmap,需要重启cloudcore pod
```yaml
$ kubectl edit cm cloudcore -n kubeedge
modules:
...
dynamicController:
enable: true
...
```

- **步骤2**: 在边缘节点,打开 metaServer 模块(如果你的 KubeEdge < 1.8.0,还需关闭旧版 edgeMesh 模块),配置完成后,需要重启 edgecore
Expand Down

0 comments on commit b795549

Please sign in to comment.