From 5096553322b7a1b34d8e003fb0810513a35b0b94 Mon Sep 17 00:00:00 2001 From: lou-lan Date: Thu, 31 Oct 2024 18:08:43 +0800 Subject: [PATCH] Add RDMA ref in AI scene doc. Signed-off-by: lou-lan --- docs/usage/install/ai/get-started-macvlan-zh_CN.md | 4 +++- docs/usage/install/ai/get-started-macvlan.md | 3 ++- docs/usage/install/ai/get-started-sriov-zh_CN.md | 3 ++- docs/usage/install/ai/get-started-sriov.md | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/usage/install/ai/get-started-macvlan-zh_CN.md b/docs/usage/install/ai/get-started-macvlan-zh_CN.md index 98a543cfe..6edcd0b14 100644 --- a/docs/usage/install/ai/get-started-macvlan-zh_CN.md +++ b/docs/usage/install/ai/get-started-macvlan-zh_CN.md @@ -150,7 +150,9 @@ helm install spiderpool spiderpool/spiderpool -n spiderpool --set rdma.rdmaSharedDevicePlugin.install=true ``` - > 如果您是中国用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 来使用国内的镜像源。 + > - 如果您是中国用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 来使用国内的镜像源。 + > - 设置 `--set spiderpoolAgent.prometheus.enabled --set spiderpoolAgent.prometheus.enabledRdmaMetric=true` 和 `--set grafanaDashboard.install=true` 命令行参数可以开启 RDMA metrics exporter 和 Grafana dashboard,更多可以查看 [RDMA metrics](../../rdma-metrics.md). + 完成后,安装的组件如下 diff --git a/docs/usage/install/ai/get-started-macvlan.md b/docs/usage/install/ai/get-started-macvlan.md index 9bf9c008e..0edc9e539 100644 --- a/docs/usage/install/ai/get-started-macvlan.md +++ b/docs/usage/install/ai/get-started-macvlan.md @@ -151,7 +151,8 @@ The network planning for the cluster is as follows: helm install spiderpool spiderpool/spiderpool -n spiderpool --set rdma.rdmaSharedDevicePlugin.install=true ``` - > If you are a user in China, you can specify the helm option `--set global.imageRegistryOverride=ghcr.m.daocloud.io` to use a domestic image source. + > - If you are a user in China, you can specify the helm option `--set global.imageRegistryOverride=ghcr.m.daocloud.io` to use a domestic image source. + > - Set `--set spiderpoolAgent.prometheus.enabled --set spiderpoolAgent.prometheus.enabledRdmaMetric=true` and `--set grafanaDashboard.install=true` flag to enable the RDMA metrics exporter and Grafana dashboard. Refer to [RDMA metrics](../../rdma-metrics.md). After completion, the installed components are as follows: diff --git a/docs/usage/install/ai/get-started-sriov-zh_CN.md b/docs/usage/install/ai/get-started-sriov-zh_CN.md index 7aeef987f..ab3b12d20 100644 --- a/docs/usage/install/ai/get-started-sriov-zh_CN.md +++ b/docs/usage/install/ai/get-started-sriov-zh_CN.md @@ -171,7 +171,8 @@ Spiderpool 使用了 [sriov-network-operator](https://github.com/k8snetworkplumb helm install spiderpool spiderpool/spiderpool -n spiderpool --set sriov.install=true ``` - > 如果您是中国用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 来使用国内的镜像源。 + > - 如果您是中国用户,可以指定参数 `--set global.imageRegistryOverride=ghcr.m.daocloud.io` 来使用国内的镜像源。 + > - 设置 `--set spiderpoolAgent.prometheus.enabled --set spiderpoolAgent.prometheus.enabledRdmaMetric=true` 和 `--set grafanaDashboard.install=true` 命令行参数可以开启 RDMA metrics exporter 和 Grafana dashboard,更多可以查看 [RDMA metrics](../../rdma-metrics.md). 完成后,安装的组件如下 diff --git a/docs/usage/install/ai/get-started-sriov.md b/docs/usage/install/ai/get-started-sriov.md index ac6b5e1ee..9b05c34ee 100644 --- a/docs/usage/install/ai/get-started-sriov.md +++ b/docs/usage/install/ai/get-started-sriov.md @@ -619,6 +619,7 @@ To simplify the complexity of configuring multiple network cards for AI applicat > - By default, the webhook automatic injection of network resources feature is disabled and needs to be manually enabled by the user. > - You can specify namespaces to exclude from injection using `spiderpoolController.podResourceInject.namespacesExclude`, and specify namespaces to include for injection using `spiderpoolController.podResourceInject.namespacesInclude`. > - After installing Spiderpool, you can update the configuration by modifying the podResourceInject field in the spiderpool-config configMap. + > - Set `--set spiderpoolAgent.prometheus.enabled --set spiderpoolAgent.prometheus.enabledRdmaMetric=true` and `--set grafanaDashboard.install=true` flag to enable the RDMA metrics exporter and Grafana dashboard. Refer to [RDMA metrics](../../rdma-metrics.md). 2. Create SpiderMultusConfig and specify labels, and configure RDMA-related settings: