From b37d7e154a47a7d19cd4eaec83f8805a5bf90109 Mon Sep 17 00:00:00 2001 From: ty-dc Date: Mon, 2 Dec 2024 15:09:33 +0800 Subject: [PATCH] docs typo: annotations is incorrectly written as label Signed-off-by: ty-dc --- docs/usage/install/ai/get-started-macvlan-zh_CN.md | 6 +++--- docs/usage/install/ai/get-started-macvlan.md | 6 +++--- docs/usage/install/ai/get-started-sriov-zh_CN.md | 6 +++--- docs/usage/install/ai/get-started-sriov.md | 6 +++--- 4 files changed, 12 insertions(+), 12 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 04ebd0726..6fd0586d3 100644 --- a/docs/usage/install/ai/get-started-macvlan-zh_CN.md +++ b/docs/usage/install/ai/get-started-macvlan-zh_CN.md @@ -458,8 +458,8 @@ metadata: name: gpu1-sriov namespace: spiderpool - labels: - cni.spidernet.io/rdma-resource-inject: gpu-network + annotations: + cni.spidernet.io/rdma-resource-inject: rdma-network spec: cniType: macvlan macvlan: @@ -478,7 +478,7 @@ template: metadata: annotations: - cni.spidernet.io/rdma-resource-inject: gpu-network + cni.spidernet.io/rdma-resource-inject: rdma-network ``` > 注意:使用 webhook 自动注入网络资源功能时,不能为应用添加其他网络配置注解(如 `k8s.v1.cni.cncf.io/networks` 和 `ipam.spidernet.io ippools`等),否则会影响资源自动注入功能。 diff --git a/docs/usage/install/ai/get-started-macvlan.md b/docs/usage/install/ai/get-started-macvlan.md index fc44e8610..8ced42507 100644 --- a/docs/usage/install/ai/get-started-macvlan.md +++ b/docs/usage/install/ai/get-started-macvlan.md @@ -456,8 +456,8 @@ In the steps above, we demonstrated how to use SR-IOV technology to provide RDMA metadata: name: gpu1-sriov namespace: spiderpool - labels: - cni.spidernet.io/rdma-resource-inject: gpu-network + annotations: + cni.spidernet.io/rdma-resource-inject: rdma-network spec: cniType: macvlan macvlan: @@ -476,7 +476,7 @@ In the steps above, we demonstrated how to use SR-IOV technology to provide RDMA template: metadata: annotations: - cni.spidernet.io/rdma-resource-inject: gpu-network + cni.spidernet.io/rdma-resource-inject: rdma-network ``` > Note: When using the webhook automatic injection of network resources feature, do not add other network configuration annotations (such as `k8s.v1.cni.cncf.io/networks` and `ipam.spidernet.io/ippools`) to the application, as it will affect the automatic injection of resources. 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 c07c9186b..78877db00 100644 --- a/docs/usage/install/ai/get-started-sriov-zh_CN.md +++ b/docs/usage/install/ai/get-started-sriov-zh_CN.md @@ -645,8 +645,8 @@ Spiderpool 使用了 [sriov-network-operator](https://github.com/k8snetworkplumb metadata: name: gpu1-sriov namespace: spiderpool - labels: - cni.spidernet.io/rdma-resource-inject: gpu-network + annotations: + cni.spidernet.io/rdma-resource-inject: rdma-network spec: cniType: sriov sriov: @@ -664,7 +664,7 @@ Spiderpool 使用了 [sriov-network-operator](https://github.com/k8snetworkplumb template: metadata: annotations: - cni.spidernet.io/rdma-resource-inject: gpu-network + cni.spidernet.io/rdma-resource-inject: rdma-network ``` > 注意:使用 webhook 自动注入网络资源功能时,不能为应用添加其他网络配置注解(如 `k8s.v1.cni.cncf.io/networks` 和 `ipam.spidernet.io ippools`等),否则会影响资源自动注入功能。 diff --git a/docs/usage/install/ai/get-started-sriov.md b/docs/usage/install/ai/get-started-sriov.md index 3821192bc..446c156ee 100644 --- a/docs/usage/install/ai/get-started-sriov.md +++ b/docs/usage/install/ai/get-started-sriov.md @@ -646,8 +646,8 @@ In the steps above, we demonstrated how to use SR-IOV technology to provide RDMA metadata: name: gpu1-sriov namespace: spiderpool - labels: - cni.spidernet.io/rdma-resource-inject: gpu-network + annotations: + cni.spidernet.io/rdma-resource-inject: rdma-network spec: cniType: sriov sriov: @@ -665,7 +665,7 @@ In the steps above, we demonstrated how to use SR-IOV technology to provide RDMA template: metadata: annotations: - cni.spidernet.io/rdma-resource-inject: gpu-network + cni.spidernet.io/rdma-resource-inject: rdma-network ``` > Note: When using the webhook automatic injection of network resources feature, do not add other network configuration annotations (such as `k8s.v1.cni.cncf.io/networks` and `ipam.spidernet.io/ippools`) to the application, as it will affect the automatic injection of resources.