Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed Dec 14, 2023
1 parent 7a38732 commit 1bc4218
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/spiderpool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ helm install spiderpool spiderpool/spiderpool --wait --namespace kube-system \
### plugins parameters

| Name | Description | Value |
| -------------------------------- | ---------------------------------------------------------- |----------------------------------------------|
| -------------------------------- | ---------------------------------------------------------- | -------------------------------------------- |
| `plugins.installCNI` | install all cni plugins to each node | `false` |
| `plugins.installRdmaCNI` | install rdma cni used to isolate rdma device for sriov cni | `true` |
| `plugins.installOvsCNI` | install ovs cni to each node | `true` |
Expand Down
12 changes: 6 additions & 6 deletions docs/usage/rdma-ib-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ Spiderpool 赋能了 [IB-SRIOV](https://github.com/k8snetworkplumbingwg/ib-sriov

2. 安装好 Spiderpool,确认如下 helm 选项

> - 务必开启 --set sriov.install=true 选项
>
> - 如果您是国内用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 避免 Spiderpool 的镜像拉取失败。
- 务必开启 `--set sriov.install=true`

- 如果您是国内用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 避免 Spiderpool 的镜像拉取失败。

完成后,安装的组件如下

Expand Down Expand Up @@ -238,11 +238,11 @@ Spiderpool 赋能了 [IB-SRIOV](https://github.com/k8snetworkplumbingwg/ib-sriov
inet6 fe80::eaeb:d303:93:ae10/64 scope link
valid_lft forever preferred_lft forever

2. 安装好 Spiderpool,确认如下安装选项
2. 安装好 Spiderpool

> - 如果您是国内用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 避免 Spiderpool 的镜像拉取失败。
如果您是国内用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 避免 Spiderpool 的镜像拉取失败。

完成后,安装的组件如下
完成后,安装的组件如下

~# kubectl get pod -n kube-system
spiderpool-agent-9sllh 1/1 Running 0 1m
Expand Down
4 changes: 2 additions & 2 deletions docs/usage/rdma-ib.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Spiderpool empowers [IB-SRIOV](https://github.com/k8snetworkplumbingwg/ib-sriov-

Different from RoCE, Infiniband network cards are proprietary devices based on Infiniband networks, and the Spiderpool offers two CNI options:

1. [IB-SR-IOV CNI]https://github.com/k8snetworkplumbingwg/ib-sriov-cniprovides SR-IOV network card with the RDMA device of network namespace isolation. It is suitable for workloads that require RDMA communication.
1. [IB-SR-IOV CNI](https://github.com/k8snetworkplumbingwg/ib-sriov-cni) provides SR-IOV network card with the RDMA device of network namespace isolation. It is suitable for workloads that require RDMA communication.

2. [IPoIB CNI]https://github.com/mellanox/ipoib-cniprovides an IPoIB network card for POD, without RDMA device. It is suitable for conventional applications that require TCP/IP communication, as it does not require an SRIOV network card, allowing more PODs to run on the host
2. [IPoIB CNI](https://github.com/mellanox/ipoib-cni) provides an IPoIB network card for POD, without RDMA device. It is suitable for conventional applications that require TCP/IP communication, as it does not require an SRIOV network card, allowing more PODs to run on the host

Moreover, in the RDMA communication scenario, for applications based on clusterIP communication, in order to enable RDMA traffic to be forwarded through the underlay network card, the resolution of clusterIP based on cgroup eBPF can be implemented in the container network namespace. For specific details, please refer to [cgroup eBPF Resolving ClusterIP](./underlay_cni_service zh-CN. md)

Expand Down
7 changes: 2 additions & 5 deletions docs/usage/rdma-roce-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,8 @@ RDMA 网卡,也可以基于 SR-IOV CNI 来使用 exclusive 模式的网卡。

3. 安装 Spiderpool

> - 务必设置如下 helm 选项
>
> --set sriov.install=true \
>
> - 如果您是国内用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 避免 Spiderpool 的镜像拉取失败。
- 务必设置 helm 选项 `--set sriov.install=true`
- 如果您是国内用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 避免 Spiderpool 的镜像拉取失败。

完成 Spiderpool 安装后,可以手动编辑 configmap spiderpool-rdma-shared-device-plugin 来重新配置 RDMA shared device plugin

Expand Down
7 changes: 2 additions & 5 deletions docs/usage/rdma-roce.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,8 @@ The following steps demonstrate how to enable isolated usage of RDMA devices by

3. Install Spiderpool

> - set the following values
>
> --set sriov.install=true \
>
> - If you are a user from China, you can specify the parameter `--set global.imageRegistryOverride=ghcr.m.daocloud.io` to avoid image pull failures from Spiderpool.
- set the values `--set sriov.install=true`
- If you are a user from China, you can specify the parameter `--set global.imageRegistryOverride=ghcr.m.daocloud.io` to avoid image pull failures from Spiderpool.

After completing the installation of Spiderpool, you can manually edit the spiderpool-rdma-shared-device-plugin configmap to reconfigure the RDMA shared device plugin.

Expand Down

0 comments on commit 1bc4218

Please sign in to comment.