Skip to content

Commit

Permalink
Merge pull request #80 from yingjianjian/patch-1
Browse files Browse the repository at this point in the history
provide flannel image and cni binary for edge network
  • Loading branch information
rambohe-ch authored Feb 10, 2022
2 parents 27de949 + ffa4849 commit cb9d74a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/user-manuals/network/edge-pod-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ git reset --hard e634dabe0af446b765db3b729085b32f97ff6fe6;
wget https://raw.githubusercontent.com/openyurtio/openyurt/master/docs/tutorial/0001-flannel-keep-vtep-mac.patch;
git am 0001-flannel-keep-vtep-mac.patch;
```

flannell-edge镜像地址
```
Docker镜像仓库: docker.io/openyurt/flannel-edge:v0.14.0-1
阿里云镜像仓库: registry.cn-hangzhou.aliyuncs.com/openyurt/flannel-edge:v0.14.0-1
```
## IPAM: Pod IP地址保持
### 场景
在大多数场景中,使用host-local为Pod分配IP地址。host-local从nodecidr中选择空闲的IP地址分配给新的Pod,并将已分配的IP地址信息记录在本地文件中。
Expand All @@ -64,6 +68,11 @@ git reset --hard 9ebe139e77e82afb122e335328007bca86905ae4;
wget https://raw.githubusercontent.com/openyurtio/openyurt/master/docs/tutorial/0002-ipam-keep-pod-ip.patch;
git am 0002-ipam-keep-pod-ip.patch;
```
host-local的cni rpm包部署
```
rpm -ivh https://github.com/openyurtio/openyurt/releases/download/v0.6.0/openyurt-cni-0.8.7-0.x86_64.rpm
```

## 为flannel增加"get node"权限
flannel调整之后,需要在原有的RBAC之后,提供 "get node"的权限。参考:
```diff
Expand Down

0 comments on commit cb9d74a

Please sign in to comment.