Skip to content

Commit

Permalink
Merge pull request #4350 from ty-dc/fix/webhook-docs
Browse files Browse the repository at this point in the history
docs typo: annotations is incorrectly written as labels
  • Loading branch information
windsonsea authored Dec 3, 2024
2 parents 30911ec + b37d7e1 commit 2396ac0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions docs/usage/install/ai/get-started-macvlan-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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`等),否则会影响资源自动注入功能。
Expand Down
6 changes: 3 additions & 3 deletions docs/usage/install/ai/get-started-macvlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/usage/install/ai/get-started-sriov-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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`等),否则会影响资源自动注入功能。
Expand Down
6 changes: 3 additions & 3 deletions docs/usage/install/ai/get-started-sriov.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit 2396ac0

Please sign in to comment.