Skip to content

Commit 98a147e

Browse files
committed
feat: update docs content
1 parent e332737 commit 98a147e

File tree

6 files changed

+73
-89
lines changed

6 files changed

+73
-89
lines changed

docs/03-getting-started/02-install-lower-layer-system/05-install-sedna.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,30 @@ custom_edit_url: null
66

77
# Install Sedna
88

9-
[TBD]
10-
11-
## 下载Sedna(云端)
9+
## Download Sedna (cloud)
1210
```bash
13-
# clone修改版sedna
11+
# clone sedna code (customized by dayu)
1412
git clone https://github.com/dayu-autostreamer/dayu-sedna.git
15-
# 进入dayu-sedna文件目录
13+
# move to code directory
1614
cd dayu-sedna
1715
```
1816

19-
## 安装Sedna (云端)
17+
## Install Sedna (cloud)
2018

21-
可能遇到 [问题十:lc12700-5353-no-such-hostconnection-refused](/docs/getting-started/install-lower-layer-system/faqs#问题十lc12700-5353-no-such-hostconnection-refused)
19+
This step may occur [Question 10: lc127.0.0. 53:53 no such host/connection refused](/docs/getting-started/install-lower-layer-system/faqs#question-10-lc12700-5353-no-such-hostconnection-refused).
2220

2321
```bash
24-
# 设置镜像源,不设置默认为dockerhub(docker.io)
22+
# Set image source. The default source is dockerhub (docker.io).
2523
export REG=xxx
26-
# 安装
24+
# Install
2725
SEDNA_ACTION=create bash - install.sh
28-
# 卸载
26+
# Uninstall
2927
SEDNA_ACTION=delete bash - install.sh
3028
```
3129

32-
安装完后通过`kubectl logs xxx -n sedna`检查log,需着重查看 lc 是否连接 gm 成功。
30+
After installation, check the logs with `kubectl logs xxx -n sedna`, and pay special attention to whether lc has successfully connected to gm.
3331

34-
## 检查Sedna运行状态
32+
## Check running state of Sedna
3533

3634
![lc](/img/install/sedna_lc.png)
3735

docs/03-getting-started/02-install-lower-layer-system/06-install-nvidia-gpu-support.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,24 @@ custom_edit_url: null
66

77
# Install NVIDIA GPU Support
88

9-
[TBD]
9+
## Enable GPU support (both cloud/edge)
1010

11-
## 开启 GPU 支持 (云边共用)
12-
13-
在云端运行下面命令:
11+
Execute on the cloud:
1412
```bash
1513
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.13.0/nvidia-device-plugin.yml
1614
```
1715

18-
在边端修改`edgecore.yaml`
16+
Modify `edgecore.yaml` on the edge:
1917
```bash
2018
vim /etc/kubeedge/config/edgecore.yaml
21-
# 修改以下部分
19+
# Modify the follwoing part:
2220
devicePluginEnabled: true
2321

24-
# 重启edgecore
22+
# Restart edgecore
2523
systemctl restart edgecore.service
2624
```
2725

28-
修改云边所有设备上的`/etc/dockerdaemon.json`,添加如下内容:
26+
Modify `/etc/dockerdaemon.json` on all cloud/edge devices, and add the following content:
2927
```json
3028
{
3129
"default-runtime": "nvidia",
@@ -38,26 +36,26 @@ systemctl restart edgecore.service
3836
}
3937
```
4038

41-
## 正常运行状态
39+
## Check running state
4240

43-
在云端使用 `kubectl get pods -A` 查看nvidia相关pod,并使用 `kubectl logs xxx -n xxx` `kubectl describe pod xxx -n xxx` 检查pod的情况。
41+
On the cloud, use `kubectl get pods -A` to find all the nvidia related pods. Then, use `kubectl logs xxx -n xxx` or `kubectl describe pod xxx -n xxx` to check pod state.
4442

45-
云端pod情况:
43+
Pod state on the cloud:
4644

4745
![nvidia-plugin1.png](/img/install/nvidia-plugin1.png)
4846

4947
[//]: # (<img src="/img/install/nvidia-plugin1.png" alt="nvidia-plugin1.png" style="zoom:67%;" />)
5048

5149
![nvidia-plugin2.png](/img/install/nvidia-plugin2.png)
5250

53-
边端pod情况:
51+
Pod state on the edge:
5452

5553
![nvidia-plugin3.png](/img/install/nvidia-plugin3.png)
5654

5755
![nvidia-plugin4.png](/img/install/nvidia-plugin4.png)
5856

5957

60-
在云端运行demo容器检查nvidia gpu是否能够正常获取:
58+
Run the demo container on the cloud to check whether nvidia gpu can be obtained normally:
6159
```bash
6260
kubectl run -i -t nvidia --image=jitteam/devicequery
6361
```

docs/03-getting-started/02-install-lower-layer-system/08-faqs.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,18 @@ sudo apt-get update
197197
sudo apt-get install -y nvidia-container-toolkit
198198
```
199199

200-
### 问题十:lc127.0.0. 53:53 no such host/connection refused
200+
### Question 10: lc127.0.0. 53:53 no such host/connection refused
201201

202-
#### 问题描述
203-
204-
在安装Sedna阶段,检查正确性时报错lc127.0.0. 53:53 no such host/connection refused
202+
During the Sedna installation stage, an error occurs in logs: `lc127.0.0. 53:53 no such host/connection refused`.
205203

206-
#### 解决方法
204+
Reason:
207205

208206
错误原理参见:https://zhuanlan.zhihu.com/p/585749690 链接中的问题五。
209207

208+
Solution:
209+
210+
211+
210212
首先,检查准备阶段中的Sedna安装脚本install.sh,观察其中是否有Hostnetwork键值对,如果没有,一般说明不会有问题。
211213

212214
如果确认没有这个键值对却依然报错,按照如下方法暂时解决问题(不推荐):

i18n/zh/docusaurus-plugin-content-docs/current/03-getting-started/02-install-lower-layer-system/04-install-edgemesh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ curl 127.0.0.1:10550/api/v1/services
8888

8989
下载 edgemesh代码
9090
```bash
91-
# clone edgemesh代码
91+
# clone edgemesh代码(大禹定制版)
9292
git clone https://github.com/dayu-autostreamer/dayu-edgemesh.git
9393
# 进入代码文件夹
9494
cd dayu-edgemesh

i18n/zh/docusaurus-plugin-content-docs/current/03-getting-started/02-install-lower-layer-system/05-install-sedna.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ custom_edit_url: null
88

99
## 下载Sedna(云端)
1010
```bash
11-
# clone修改版sedna
11+
# clone sedna代码(大禹定制版)
1212
git clone https://github.com/dayu-autostreamer/dayu-sedna.git
1313
# 进入dayu-sedna文件目录
1414
cd dayu-sedna

0 commit comments

Comments
 (0)