Skip to content

Commit

Permalink
Merge pull request #397 from lostcharlie/main
Browse files Browse the repository at this point in the history
Update manually-install documents.
  • Loading branch information
yanjianbo1983 authored Jun 27, 2023
2 parents bf9f41a + d0b38e2 commit eb178bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions docs/manually-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,18 @@ cluster:
# edgePodCIDR is not necessary if your CNI is flannel;
# Avoid an CIDR overlapped with cluster-cidr argument of your cluster
edgePodCIDR: "10.234.64.0/18"
# It's the value of "cluster-cidr" fetched in Step 2
clusterCIDR: "10.233.64.0/18"
# Usually connector should be accessible by fabedge-agent by port 500,
# if you cann't map public port 500, change this parameter.
# if you can't map public port 500, change this parameter.
connectorPublicPort: 500
# If your edge nodes are behind NAT networks and are hard to establish
# tunnels between them, set this parameter to true, this will let connector
# work also as a mediator to help edge nodes to establish tunnels.
connectorAsMediator: false
connectorPublicAddresses:
- 10.22.48.16
# It's the value of "service-cluster-ip-range" fetched in Step 2
serviceClusterIPRange:
- 10.234.0.0/18
Expand All @@ -125,12 +128,12 @@ agent:
ENABLE_DNS: "true"
```

*PS: The `values.yaml` in the example is not complete, you can get the complete `values.yaml` example by executing `helm show values fabedge-0.6.0.tgz`.*
*PS: The `values.yaml` in the example is not complete, you can get the complete `values.yaml` example by executing `helm show values fabedge/fabedge`.*

8. Deploy Fabedge

```shell
helm install fabedge fabedge-0.6.0.tgz -n fabedge --create-namespace
helm install fabedge fabedge/fabedge -n fabedge --create-namespace -f values.yaml
```

If those pods following are running, you make it.
Expand Down
5 changes: 4 additions & 1 deletion docs/manually-install_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ cluster:
# 如果是flannel,可以不配置这个参数;
# 另外这个参数需要注意不要跟当前集群的cluster-cidr参数重叠
edgePodCIDR: "10.234.64.0/18"
# 填入步骤2中的cluster-cidr
clusterCIDR: "10.233.64.0/18"
connectorPublicAddresses:
- 10.22.48.16
# 通常connector需要被边缘节点的fabedge-agent访问需要映射端口,
Expand All @@ -108,6 +110,7 @@ cluster:
# 是否使用connector节点作为mediator,如果边缘节点位于NAT网络后,
# 彼此之间不能正常建立隧道,建议开启该功能
connectorAsMediator: false
# 填入步骤2中的service-cluster-ip-range
serviceClusterIPRange:
- 10.234.0.0/18
Expand All @@ -127,7 +130,7 @@ agent:
8. 安装Fabedge

```shell
helm install fabedge fabedge/fabedge -n fabedge --create-namespace
helm install fabedge fabedge/fabedge -n fabedge --create-namespace -f values.yaml
```

如果以下Pod运行正常,则安装成功
Expand Down

0 comments on commit eb178bb

Please sign in to comment.